Update include/functions

This commit is contained in:
deepend 2024-01-03 07:09:46 +00:00
parent 5ec8a4c9bb
commit 9bd4030bd9
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +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
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!"