1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/passwd.md

20 lines
370 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.
2015-12-31 14:11:18 +01:00
- Change the password of the current user
`passwd {{new password}}`
2015-12-31 14:11:18 +01:00
- Change the password of the specified user
`passwd {{username}} {{new password}}`
2015-12-31 14:11:18 +01:00
- Get the current statuts of the user
`passwd -S`
2015-12-31 14:11:18 +01:00
- Make the password of the account blank (it will set the named account passwordless)
`passwd -d`