Browse Source

fixed null pub_key in create-user.pl

tags/release-00
gashapwn 3 years ago
parent
commit
1993b83810
2 changed files with 1 additions and 6 deletions
  1. +1
    -1
      perl-script/create-user.pl
  2. +0
    -5
      requirements.txt

+ 1
- 1
perl-script/create-user.pl View File

@@ -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");


+ 0
- 5
requirements.txt View File

@@ -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…
Cancel
Save