Interview Prep/Linux/SSH, sudo and authentication

A user's password login fails with `Your account has expired; please contact your system administrator`.

BeginnerTroubleshootingSSH, sudo and authentication
Answer

Likely causes → The account expiry date (chage -E) has passed, set by policy or offboarding.

Diagnose →

sudo chage -l alice

Fix → If access is approved: sudo chage -E -1 alice (remove expiry) or set a new date.

Prevent → Notify users and managers before account expiry; tie expiry to HR data.

All Linux questions Roadmap: Linux

More on SSH, sudo and authentication