mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
passwd: add script example (#16009)
* Update pages/common/passwd.md --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
@@ -18,3 +18,7 @@
|
||||
- Make the password of the account blank (it will set the named account passwordless):
|
||||
|
||||
`passwd {{[-d|--delete]}}`
|
||||
|
||||
- Set password programmatically (ideal for install scripts):
|
||||
|
||||
`yes {{password}} | passwd`
|
||||
|
||||
Reference in New Issue
Block a user