tldr/common/passwd.md

16 lines
393 B
Markdown
Raw Normal View History

#passwd
> passwd is a tool on most Unix and Unix-like operating systems used to change a user's password.
* Change your password. ( You may need to use **sudo** )
`passwd {{options}} {{new password}}`
* Change the password of the specified user.
`passwd {{username}} {{new password}}`
* Make the password of the account blank ( It will set the named account passwordless. )
`passwd -d`