1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/common/passwd.md
Scattered Faith 8707d05925
passwd: remove invalid example (#5691)
passwd doesn't accept changing a password via specifying the password after the username in the command line, consider removing the example as it's misleading
2021-04-27 13:19:59 -04:00

350 B

passwd

Passwd is a tool used to change a user's password.

  • Change the password of the current user interactively:

passwd

  • Change the password of a specific user:

passwd {{username}}

  • Get the current status of the user:

passwd -S

  • Make the password of the account blank (it will set the named account passwordless):

passwd -d