tldr/pages/common/passwd.md

20 lines
370 B
Markdown
Raw Normal View History

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