Explorar el Código

provision.pl - fixed an escape

master
gashapwn hace 3 años
padre
commit
f6e1723d3d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      perl-script/provision.pl

+ 1
- 1
perl-script/provision.pl Ver fichero

@@ -198,7 +198,7 @@ system("chmod 770 /usr/local/sbin/ngircd-ctl");

# Disable root login
system("sed -i -e 's/^[^#]*PermitRootLogin.*\$/PermitRootLogin no/' /etc/ssh/sshd_config");
system("sed -i -e 's/^PasswordAuthentication.*$//' /etc/ssh/sshd_config");
system("sed -i -e 's/^PasswordAuthentication.*\$//' /etc/ssh/sshd_config");
system("echo 'PasswordAuthentication no' >> /etc/ssh/sshd_config");
system("rcctl restart sshd");



Cargando…
Cancelar
Guardar