2015-10-22 08:31:52 +01:00
|
|
|
# passwd
|
2014-02-22 11:38:10 +00:00
|
|
|
|
2023-11-15 04:25:25 +00:00
|
|
|
> Change a user's password.
|
2021-10-07 00:34:03 +01:00
|
|
|
> More information: <https://manned.org/passwd>.
|
2014-02-22 11:38:10 +00:00
|
|
|
|
2020-02-24 22:41:14 +00:00
|
|
|
- Change the password of the current user interactively:
|
|
|
|
|
|
|
|
`passwd`
|
|
|
|
|
2021-04-27 18:19:59 +01:00
|
|
|
- Change the password of a specific user:
|
2014-02-22 11:38:10 +00:00
|
|
|
|
2021-04-27 18:19:59 +01:00
|
|
|
`passwd {{username}}`
|
2014-02-27 12:52:31 +00:00
|
|
|
|
2016-05-18 09:32:06 +01:00
|
|
|
- Get the current status of the user:
|
2014-02-22 12:24:27 +00:00
|
|
|
|
2024-09-04 17:11:19 +01:00
|
|
|
`passwd {{-S|--status}}`
|
2014-02-22 11:38:10 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Make the password of the account blank (it will set the named account passwordless):
|
2014-02-22 11:38:10 +00:00
|
|
|
|
2024-09-04 17:11:19 +01:00
|
|
|
`passwd {{-d|--delete}}`
|