mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02: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:
parent
f093d6d422
commit
15bdd2e0d7
1 changed files with 4 additions and 0 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Reference in a new issue