passwd
Linux · Users and permissions · available in the simulator
What it does
Changes a user's password.
Syntax
passwd [opciones] [usuario]
Options and parameters
-lLocks the password of the account.
-uUnlocks the password of the account.
-dDeletes the password for the account.
-eForces password expiration at the next login.
-SDisplays the status of the account password.
passwd -S ana
Usage examples
passwdsudo passwd anasudo passwd -l anasudo passwd usuariopasswd -S ana