Commit ba1b6266 authored by Cooper, Caleb's avatar Cooper, Caleb
Browse files


parent 387ff5bc
......@@ -77,6 +77,7 @@ func_rse_make_sudo_account() {
if ! echo -e "${NEW_PASS}\n${NEW_PASS}" | sudo passwd ${NEW_ACCOUNT}; then
echo -e "${NEW_PASS}\n${NEW_PASS}" | sudo passwd.orig ${NEW_ACCOUNT}
sudo cat /etc/ssh/sshd_config
sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config
sudo sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config
sudo systemctl reload sshd
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment