What should happen in the offboarding process for an engineer with server access?
IntermediateProductionUser Lifecycle, Auditing & Time Sync
Answer
- Disable the identity in the central directory/SSO (revokes SSH certificates, VPN, consoles at once).
- Remove their public keys from any
authorized_keys, and from CI/deploy systems. - Rotate shared secrets they could see (break-glass passwords, API keys, service account keys).
- Expire local accounts:
usermod -e 1 -L alice, then archive and remove after a retention period. - Reassign file ownership and cron jobs; check for scheduled tasks and running processes (
pgrep -u alice). - Record the action for audit.
More on User Lifecycle, Auditing & Time Sync
How do you manage Linux users across hundreds of servers?BeginnerWhat is SSSD?IntermediateHow do you safely remove a local user?BeginnerHow should service accounts be created and governed?IntermediateHow do you review who has access to a server?IntermediateWhat is auditd and what is it used for?Beginner