X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=bullseye%2Fsetup_scripts%2Finit_user_login.sh;h=35075d009faad75f8df0b11c7ea4f635cbc377c8;hb=68d58adc75e40479d56e5ca09d5b48beaafab9e1;hp=21a8062276707e16790d062de842f07f8f8115f5;hpb=7582117a025e5e535c67b8315b5c8b34ce6b6287;p=config diff --git a/bullseye/setup_scripts/init_user_login.sh b/bullseye/setup_scripts/init_user_login.sh index 21a8062..35075d0 100755 --- a/bullseye/setup_scripts/init_user_login.sh +++ b/bullseye/setup_scripts/init_user_login.sh @@ -31,7 +31,7 @@ echo 'Asking for new root password.' ssh root@"${server}" "passwd" # Set up plom's ~/.ssh/authorized_keys from root's. -ssh root@"${server}" 'useradd -m plom' +ssh root@"${server}" 'useradd -m plom -s /bin/bash' ssh root@"${server}" 'mkdir /home/plom/.ssh' ssh root@"${server}" 'chown plom:plom /home/plom/.ssh' ssh root@"${server}" 'cp /root/.ssh/authorized_keys /home/plom/.ssh/'