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:
Scattered Faith
2021-04-27 13:19:59 -04:00
committed by GitHub
parent d08f5ebefc
commit 8707d05925

View File

@@ -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: