1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 19:02:09 +02:00
tldr/pages/common/passwd.md
Ivan Aracki eec1815b50
passwd: add base command (#3869)
Co-authored-by: Marco Bonelli <marco@mebeim.net>
2020-02-24 23:41:14 +01:00

23 lines
441 B
Markdown

# 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 the current user:
`passwd {{new_password}}`
- Change the password of the specified user:
`passwd {{username}} {{new_password}}`
- 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`