X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=buster%2Fsetup_scripts%2Finit_user_login.sh;h=7f3536a6e5bdaaafb607ebc18342c4603dd80e49;hb=1051f875935af7ecda03a8164013c8849039d92a;hp=6abb766f7df7a2bdeb6edb1cbef1ee4e3e8b44f2;hpb=c9f396608b3369d2eb6c1c20a2a958299e84adb9;p=config
diff --git a/buster/setup_scripts/init_user_login.sh b/buster/setup_scripts/init_user_login.sh
index 6abb766..7f3536a 100755
--- a/buster/setup_scripts/init_user_login.sh
+++ b/buster/setup_scripts/init_user_login.sh
@@ -15,8 +15,12 @@ if [ $# -eq 0 ]; then
fi
server="$1"
+# So we're only asked once â¦
+eval $(ssh-agent)
+ssh-add
+
# This will be used to log-in as root from plom account.
-echo 'Asking for root password.'
+echo 'Asking for new root password.'
ssh root@"${server}" "passwd"
# Set up plom's ~/.ssh/authorized_keys from root's.