mirror of
https://github.com/ThunixdotNet/makeuser.git
synced 2026-01-24 05:30:18 +00:00
add znc user
This commit is contained in:
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!" ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user