add znc user

This commit is contained in:
Ben Harris 2019-02-15 13:26:17 -05:00
parent 8b3957cfbd
commit 31e109040c
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ case $1 in
sed -e "s/newusername/$1/g" -e "s/newpassword/$newpw/" email.tmpl | sendmail $1 $2 sudoers@tilde.team
sub_to_list $1
sudo -u znc /home/znc/add_znc_user.sh $1
echo "$3" | tee /home/$1/.ssh/authorized_keys
toot "welcome new user ~$1!" ;;