diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-03 14:37:18 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-03 14:37:18 +0200 |
commit | 86872a89f44926c87de3d8e058ca72d711316a31 (patch) | |
tree | 43bdabd58723018e97ecf3974e94bc775f534d35 | |
parent | e0dec2f26acaba9ea20028d14765e7a797ee8526 (diff) | |
download | jenkins.debian.net-86872a89f44926c87de3d8e058ca72d711316a31.tar.xz |
jenkins and jenkins-adm should have /bin/bash as shells
-rwxr-xr-x | update_jdn.sh | 4 |
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 |