[Qa-jenkins-scm] [jenkins.debian.net] 02/03: create system users without prompting for passwords
Holger Levsen
holger at moszumanska.debian.org
Thu Jul 30 10:52:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 267701b36476ac67673764d89e547131a63b3b28
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Jul 30 12:46:22 2015 +0200
create system users without prompting for passwords
---
update_jdn.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/update_jdn.sh b/update_jdn.sh
index ebf8e8c..8369a33 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -27,7 +27,7 @@ if ! getent passwd jenkins-adm > /dev/null ; then
fi
for user in helmut holger mattia ; do
if ! getent passwd $user > /dev/null ; then
- sudo adduser --gecos "" $user
+ sudo adduser --gecos "" --disabled-password $user
sudo usermod -G jenkins,jenkins-adm
fi
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list