Commit 9bcc1d46 authored by Cooper, Caleb's avatar Cooper, Caleb
Browse files


parent 8414ae42
......@@ -46,6 +46,9 @@ 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}
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config
sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config
func_rse_set_authorized_keys() {
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