[Qa-jenkins-scm] [jenkins.debian.net] 01/01: jenkins and jenkins-adm should have /bin/bash as shells
Holger Levsen
holger at moszumanska.debian.org
Mon Aug 3 12:38:21 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 86872a89f44926c87de3d8e058ca72d711316a31
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Aug 3 14:37:18 2015 +0200
jenkins and jenkins-adm should have /bin/bash as shells
---
update_jdn.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/update_jdn.sh b/update_jdn.sh
index dcf29d8..2a86582 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
--
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