Interview Prep/Linux/Users, groups and access control

How would you design user and access management for a 500-server fleet with no shared passwords and fast offboarding?

AdvancedScenarioUsers, groups and access control
Answer

Situation read → Scale, auditability and instant revocation.

What I'd do →

  1. Identity from the IdP (Okta/Entra) synced to FreeIPA/AD or used directly by an access proxy.
  2. SSH with short-lived certificates (Vault SSH CA, Teleport, or step-ca): servers trust TrustedUserCAKeys, certs last 8 hours.
  3. Role-based principals mapped to sudo rules (AuthorizedPrincipalsFile).
  4. All access through a bastion or proxy with session recording.
  5. Only one break-glass local account, vaulted.

Why → Disable the user in the IdP and they lose access everywhere within hours, with no key cleanup.

Interview tip → Contrast it with authorized_keys sprawl, which is the failure mode most companies are trying to escape.

All Linux questions Roadmap: Linux

More on Users, groups and access control