1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 16:26:04 +02:00

passwd: cleanup style to be similar to other pages

This commit is contained in:
Romain Prieto 2014-02-27 23:52:31 +11:00
parent 2cee745fe1
commit b07a324b4e

View file

@ -1,20 +1,19 @@
#passwd
> passwd is a tool on most Unix and Unix-like operating systems used to change a user's password.
> passwd is a tool used to change a user's password.
* Change your password. ( You may need to use **sudo** ). The {{options}} flag can use -a, -d, -e, -h, -S, -i, -k, -l, -m , -q, -r, -u, -v, -x as arguments.
* Change the password of the current user
`passwd {{options}} {{new password}}`
`passwd {{new password}}`
* Change the password of the specified user
* Gives the current statuts of the user. The status information consists of 7 fields, sutch as the password status, the username, the date, the age etc...
`passwd {{username}} {{new password}}`
* Get the current statuts of the user
`passwd -S`
* Make the password of the account blank ( It will set the named account passwordless. )
* Make the password of the account blank (it will set the named account passwordless)
`passwd -d`
* Change the password of the specified user.
`passwd {{username}} {{new password}}`