mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 01:00:54 +00:00
Update cheatsheets
This commit is contained in:
25
passwd
Normal file
25
passwd
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# passwd
|
||||
|
||||
> Change a user's password.
|
||||
> More information: <https://manned.org/passwd>.
|
||||
|
||||
- Change the password of the current user interactively:
|
||||
|
||||
`passwd`
|
||||
|
||||
- Change the password of a specific user:
|
||||
|
||||
`passwd {{username}}`
|
||||
|
||||
- Get the current status of the user:
|
||||
|
||||
`passwd -S`
|
||||
|
||||
- Make the password of the account blank (it will set the named account passwordless):
|
||||
|
||||
`passwd -d`
|
||||
Reference in New Issue
Block a user