What is Linux passwd Command?
-a | Show password attributes for all entries. |
-l | Locks password entry for name. |
-d | Deletes password for name. The login name will not be prompted for password. |
-f | Force the user to change password at the next login by expiring the password for name. |
Each of these prompts must be entered correctly for the password to be successfully changed.