mirror of
https://github.com/tildeclub/makeuser.git
synced 2026-11-04 15:55:41 +00:00
add znc user
This commit is contained in:
1 parent
8b3957cfbd
commit
31e109040c
1 file changed
+1
@@ -39,6 +39,7 @@ case $1 in
|
||||
|
||||
sed -e "s/newusername/$1/g" -e "s/newpassword/$newpw/" email.tmpl | sendmail $1 $2 [email protected]
|
||||
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!" ;;
|
||||
|
||||
Reference in new issue
Block a user