Update include/functions

This commit is contained in:
deepend 2024-01-03 07:04:10 +00:00
parent b941b76b27
commit 5ec8a4c9bb
1 changed files with 1 additions and 2 deletions

View File

@ -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!"