tldr/pages/common/passwd.md

20 lines
373 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.
- Change the password of the current user:
`passwd {{new_password}}`
- Change the password of the specified user:
`passwd {{username}} {{new_password}}`
2016-05-18 09:32:06 +01:00
- 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`