mirror of
https://github.com/ThunixdotNet/makeuser.git
synced 2026-01-24 05:30:18 +00:00
Adding user testuser
This commit is contained in:
4
makeuser
4
makeuser
@@ -54,9 +54,9 @@ case $1 in
|
|||||||
sub_to_list $1
|
sub_to_list $1
|
||||||
|
|
||||||
# This line is for team
|
# This line is for team
|
||||||
# sudo -u znc /home/znc/add_znc_user.sh $1
|
# sudo -u znc $ZNC_USER $1
|
||||||
# This one is for Thunix
|
# This one is for Thunix
|
||||||
sudo $ZNC_USER $1 $newpw
|
sudo -u znc $ZNC_USER $1 $newpw
|
||||||
|
|
||||||
echo "$3" | tee /home/$1/.ssh/authorized_keys
|
echo "$3" | tee /home/$1/.ssh/authorized_keys
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user