home · contact · privacy
Do not set shell in init_user scripts as its absence alerts to not having run setup_s...
[config] / bullseye / setup_scripts / init_user_and_keybased_login.sh
index 5c238b91f48113d5982f62a39063bfaba3342057..f237a84de33a85e6fe5635e6ff89eb98f76b2651 100755 (executable)
@@ -46,7 +46,7 @@ export SSHPASS="${PW_ROOT}"
 # would require setting a password for user plom otherwise not needed.
 sshpass -e scp ~/.ssh/id_rsa.pub root@"${server}":/tmp/authorized_keys
 sshpass -e ssh root@"${server}" \
-        'useradd -m plom -s /bin/bash && '\
+        'useradd -m plom && '\
         'mkdir /home/plom/.ssh && '\
         'chown plom:plom /home/plom/.ssh && '\
         'chown plom:plom /tmp/authorized_keys && '\