Linux identity and access

Coming soon. This course is planned; lessons and labs are not available yet. No release date has been announced.

Follow a request through local identity lookup and PAM decisions, then through a private Kerberos realm and an SSSD client.

Intermediate ยท Identity systems

Before you begin

Linux users, groups, permissions, services and SSH; DNS and time-source concepts before the Kerberos section.

The planned project

Locate the layer rejecting an owned test identity, justify a narrow repair, and verify both permitted and denied access while keeping administration reachable.

Course scope

Follow local PAM decisions, Kerberos tickets and an SSSD/FreeIPA client in isolated practice. Preserve a separate administration path while testing access. Enterprise directory migration and organization-wide access design are beyond this course.

Planned course outline

3 planned chapters and 6 lesson outlines.

  1. Locate a local access decision

    Distinguish identity lookup, credential checking and account policy while preserving an alternate administration path.

    1. Planned lesson: Trace one login request

      Planned task: Predict where an owned test account will be found and checked, then inspect lookup and PAM evidence without changing the primary remote-login path.

      Changed case to investigate: The name resolves but authentication fails; stop treating the lookup result as proof of access.

    2. Planned lesson: Change one bounded PAM rule

      Planned task: Test a non-primary service's rule order and account policy, make one justified change, and verify allowed, denied and administrator paths plus rollback.

      Changed case to investigate: A second account reaches a lockout threshold; diagnose the rule without bypassing policy for all users.

  2. Introduce a private realm

    Explain ticket issuance, service identity and dependencies before asking the realm to authenticate anyone.

    1. Planned lesson: Inspect principals and tickets

      Planned task: Predict a ticket request in a course-owned MIT Kerberos realm, inspect KDC/client evidence, and keep passwords and keytabs out of transcripts.

      Changed case to investigate: A second service principal is absent; distinguish an unknown service from an invalid user credential.

    2. Planned lesson: Find a time or trust failure

      Planned task: Observe a failed ticket or service-authentication path caused by clock skew or a wrong key, then repair only the evidenced dependency.

      Changed case to investigate: The client clock is sound but the service keytab is stale; revise the hypothesis and verify a fresh exchange.

  3. Reconcile central and local behavior

    Follow an SSSD/FreeIPA client through lookup, authentication and authorization, including a deliberate outage.

    1. Planned lesson: Separate lookup from access

      Planned task: On an isolated FreeIPA/SSSD client, compare identity lookup, fresh authentication and authorization for allowed and denied test users.

      Changed case to investigate: The realm is unavailable but a cached name resolves and a configured offline login succeeds. Distinguish cached credentials, a fresh online ticket exchange and authorization; login success alone does not prove contact with the KDC.

    2. Planned lesson: Restore access without locking out operations

      Planned task: Independently diagnose a changed realm/client fault, justify one repair, verify intended and denied access, and demonstrate that the separate admin console remains usable.

      Changed case to investigate: A second client has the same symptom from a different cause; use its own evidence rather than copying the first repair.

See available courses