mirror of
https://github.com/ThunixdotNet/makeuser.git
synced 2026-11-06 12:15:38 +00:00
Adding user testuser
This commit is contained in:
1 parent
330b7b96bd
commit
5f10b2f431
1 file changed
+2
-2
@@ -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