[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: create jenkins user with homedir /var/lib/jenkins/

Holger Levsen holger at moszumanska.debian.org
Thu Jul 30 13:02:02 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 b0a96b9fe7f0c431fe6dfc21b91300973a2c196f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Jul 30 15:01:06 2015 +0200

    reproducible: create jenkins user with homedir /var/lib/jenkins/
---
 update_jdn.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index ff8df41..c3a2ecb 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -20,7 +20,7 @@ explain() {
 #
 if ! getent passwd jenkins > /dev/null ; then
 	sudo addgroup --system jenkins
-	sudo adduser --system --no-create-home --ingroup jenkins --disabled-login jenkins
+	sudo adduser --system --home /var/lib/jenkins --ingroup jenkins --disabled-login jenkins
 fi
 if ! getent group jenkins-adm > /dev/null ; then
 	sudo addgroup --system jenkins-adm

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