summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-30 15:01:06 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-30 15:01:06 +0200
commitb0a96b9fe7f0c431fe6dfc21b91300973a2c196f (patch)
tree060dd5e72bf5b7fe61c7ca1ae714623c654201a4
parent22dd6df9562ebfb5703e27feabcf67a0126679ea (diff)
downloadjenkins.debian.net-b0a96b9fe7f0c431fe6dfc21b91300973a2c196f.tar.xz
reproducible: create jenkins user with homedir /var/lib/jenkins/
-rwxr-xr-xupdate_jdn.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index ff8df41b..c3a2ecbb 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