diff --git a/include/functions b/include/functions index 757c603..7be5608 100644 --- a/include/functions +++ b/include/functions @@ -25,8 +25,7 @@ makeuser_no_ansible() sed -e "s/newusername/$1/g" -e "s/newpassword/$newpw/g" include/email.tmpl | sudo mail -s "Welcome to Thunix!" $2,$ADMIN_EMAIL sub_to_list $1 - #We don't need this for thunix, since ansible will do it - echo "$3" | sudo tee /home/$1/.ssh/authorized_keys + echo $3 | sudo tee /home/$1/.ssh/authorized_keys #If root doesn't have a fediverse account, comment this out #sudo toot "welcome new user ~$1!"