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

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: