On this page you find all important commands for the CLI tool passwd. If the
command you are looking for is missing please ask our AI.
passwd
The passwd command changes passwords for user accounts. A normal user may only change the password for their own account, while the superuser may change the password for any account. passwd also changes the account or associated password validity period.
List of commands for passwd:
-
linux:password:change Change the current users password$ passwdtry on your machineexplain this command
-
passwd:tldr:09155 passwd: Get the current status of the user.$ passwd -Stry on your machineexplain this command
-
passwd:tldr:d34a0 passwd: Make the password of the account blank (it will set the named account passwordless).$ passwd -dtry on your machineexplain this command
-
passwd:tldr:e07bb passwd: Change the password of a specific user.$ passwd ${username}try on your machineexplain this command