Ver código fonte

fixed null pub_key in create-user.pl

tags/release-00
gashapwn 3 anos atrás
pai
commit
1993b83810
2 arquivos alterados com 1 adições e 6 exclusões
  1. +1
    -1
      perl-script/create-user.pl
  2. +0
    -5
      requirements.txt

+ 1
- 1
perl-script/create-user.pl Ver arquivo

@@ -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 Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar