forked from team/makeuser
add znc user
This commit is contained in:
parent
8b3957cfbd
commit
31e109040c
1
makeuser
1
makeuser
|
@ -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
|
sed -e "s/newusername/$1/g" -e "s/newpassword/$newpw/" email.tmpl | sendmail $1 $2 sudoers@tilde.team
|
||||||
sub_to_list $1
|
sub_to_list $1
|
||||||
|
sudo -u znc /home/znc/add_znc_user.sh $1
|
||||||
|
|
||||||
echo "$3" | tee /home/$1/.ssh/authorized_keys
|
echo "$3" | tee /home/$1/.ssh/authorized_keys
|
||||||
toot "welcome new user ~$1!" ;;
|
toot "welcome new user ~$1!" ;;
|
||||||
|
|
Loading…
Reference in New Issue