From 9bd4030bd96634864ebc2dde2d5480514fcb3ecd Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 3 Jan 2024 07:09:46 +0000 Subject: [PATCH] Update include/functions --- include/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions b/include/functions index 7be5608..92535e5 100644 --- a/include/functions +++ b/include/functions @@ -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!"