Ravi Sir's Cards › AWS
Lock a leaver account?
This interview card answers: Lock a leaver account? Lock the password. Check status. Force change at login.
Read card text
What this card says
What it is
Lock the password.
passwd -l ramesh
Why it matters
Check status.
passwd -S ramesh
How / example
Force change at login.
passwd -e ramesh