From e22475abd18ff0a02c08347a6f5ade554cf2906b Mon Sep 17 00:00:00 2001 From: "tiago.ferreira" Date: Wed, 18 Mar 2026 22:54:09 +0000 Subject: [PATCH] Atualizar update_srv2.sh --- update_srv2.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update_srv2.sh b/update_srv2.sh index b5ff0e1..98d3503 100644 --- a/update_srv2.sh +++ b/update_srv2.sh @@ -8,13 +8,13 @@ wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv # echo -ne "Aguarde $i\033[0K\r" # sleep 1 #done -sed -i 's/^#PermitRootLogin\s\+prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config +#sed -i 's/^#PermitRootLogin\s\+prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config systemctl restart networking -apt install bind9 -y +#apt install bind9 -y #wget https://github.com/tmferreira-ti/ASOR/raw/refs/heads/main/Confs/srv2/dns/named.conf.options -O /etc/bind/named.conf.options -wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv2/dns/named.conf.local -O /etc/bind/named.conf.local --no-check-certificate --no-cache +#wget https://git.tmferreira.tec.br/tiago.ferreira/ASOR/raw/branch/main/Confs/srv2/dns/named.conf.local -O /etc/bind/named.conf.local --no-check-certificate --no-cache #apt update