Commit 80d8626b authored by Cooper, Caleb's avatar Cooper, Caleb
Browse files

Update rse-bash-modules.sh

parent 1f7c04ab
......@@ -46,8 +46,8 @@ 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}
fi
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config
sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /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