summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-03 14:37:18 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-03 14:37:18 +0200
commit86872a89f44926c87de3d8e058ca72d711316a31 (patch)
tree43bdabd58723018e97ecf3974e94bc775f534d35
parente0dec2f26acaba9ea20028d14765e7a797ee8526 (diff)
downloadjenkins.debian.net-86872a89f44926c87de3d8e058ca72d711316a31.tar.xz
jenkins and jenkins-adm should have /bin/bash as shells
-rwxr-xr-xupdate_jdn.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index dcf29d8b..2a865825 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -20,13 +20,13 @@ explain() {
#
if ! getent passwd jenkins > /dev/null ; then
sudo addgroup --system jenkins
- sudo adduser --system --home /var/lib/jenkins --ingroup jenkins --disabled-login jenkins
+ sudo adduser --system --shell /bin/bash --home /var/lib/jenkins --ingroup jenkins --disabled-login jenkins
fi
if ! getent group jenkins-adm > /dev/null ; then
sudo addgroup --system jenkins-adm
fi
if ! getent passwd jenkins-adm > /dev/null ; then
- sudo adduser --system --no-create-home --ingroup jenkins-adm --disabled-login --no-create-home jenkins-adm
+ sudo adduser --system --shell /bin/bash --no-create-home --ingroup jenkins-adm --disabled-login --no-create-home jenkins-adm
sudo usermod -G jenkins jenkins-adm
fi
for user in helmut holger mattia ; do