1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-13 13:35:24 +02:00
tldr/pages/common/passwd.md

20 lines
374 B
Markdown
Raw Normal View History

2015-10-22 15:31:52 +08:00
# passwd
> Passwd is a tool used to change a user's password.
- Change the password of the current user:
`passwd {{new password}}`
- Change the password of the specified user:
`passwd {{username}} {{new password}}`
- Get the current statuts of the user:
`passwd -S`
- Make the password of the account blank (it will set the named account passwordless):
`passwd -d`