1
0
Fork 0
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:
Managor 2025-03-25 10:03:02 +02:00 committed by GitHub
parent f093d6d422
commit 15bdd2e0d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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`