diff options
-rwxr-xr-x | update_jdn.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/update_jdn.sh b/update_jdn.sh index d2a51fce..972d7043 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -36,11 +36,11 @@ for user in helmut holger mattia lunar ; do fi if ! getent passwd $user > /dev/null ; then if [ "$user" = "mattia" ] ; then - local shell=/bin/zsh + usershell=/bin/zsh else - local shell=/bin/bash + usershell=/bin/bash fi - sudo adduser --gecos "" --shell "$shell" --disabled-password $user + sudo adduser --gecos "" --shell "$usershell" --disabled-password $user if [ "$user" = "holger" ] ; then sudo usermod -G jenkins,jenkins-adm,sudo,adm $user elif [ "$user" != "lunar" ] ; then |