From 15bdd2e0d70891c5d22fd826400fbaa249b0e00f Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Tue, 25 Mar 2025 10:03:02 +0200 Subject: [PATCH] passwd: add script example (#16009) * Update pages/common/passwd.md --------- Co-authored-by: K.B.Dharun Krishna --- pages/common/passwd.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/passwd.md b/pages/common/passwd.md index d69bc82bab..3b5003efc8 100644 --- a/pages/common/passwd.md +++ b/pages/common/passwd.md @@ -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`