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
+4
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`