passwd: remove invalid example (#5691)
passwd doesn't accept changing a password via specifying the password after the username in the command line, consider removing the example as it's misleading
This commit is contained in:
@@ -6,13 +6,9 @@
|
|||||||
|
|
||||||
`passwd`
|
`passwd`
|
||||||
|
|
||||||
- Change the password of the current user:
|
- Change the password of a specific user:
|
||||||
|
|
||||||
`passwd {{new_password}}`
|
`passwd {{username}}`
|
||||||
|
|
||||||
- Change the password of the specified user:
|
|
||||||
|
|
||||||
`passwd {{username}} {{new_password}}`
|
|
||||||
|
|
||||||
- Get the current status of the user:
|
- Get the current status of the user:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user