fixed null pub_key in create-user.pl
This commit is contained in:
parent
3438503097
commit
1993b83810
@ -69,7 +69,7 @@ sub create($){
|
||||
}
|
||||
|
||||
system($cmd);
|
||||
system("echo '$pub_key' > /home/$username/.ssh/authorized_keys");
|
||||
system("echo '".$pub_key."' > /home/$username/.ssh/authorized_keys");
|
||||
system("chmod 711 /home/$username");
|
||||
system("mv $fn1 $fn1.done");
|
||||
system("echo $username >> user_list.txt");
|
||||
|
@ -1,6 +1 @@
|
||||
click==7.1.2
|
||||
Flask==1.1.2
|
||||
itsdangerous==1.1.0
|
||||
Jinja2==2.11.2
|
||||
MarkupSafe==1.1.1
|
||||
Werkzeug==1.0.1
|
||||
|
Loading…
Reference in New Issue
Block a user