From 1e47226bd495f474ee3a2a938c4127c6aa54c951 Mon Sep 17 00:00:00 2001 From: Matthieu Destrez Date: Wed, 29 Jun 2016 15:12:21 +0200 Subject: [PATCH] fixed option name in 9.3.9_disable_sshd_permitemptypasswords.sh, was PermitRootLogin instead of PermitEmptyPassword --- bin/hardening/9.3.9_disable_sshd_permitemptypasswords.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hardening/9.3.9_disable_sshd_permitemptypasswords.sh b/bin/hardening/9.3.9_disable_sshd_permitemptypasswords.sh index 32e3388..94c6cc7 100755 --- a/bin/hardening/9.3.9_disable_sshd_permitemptypasswords.sh +++ b/bin/hardening/9.3.9_disable_sshd_permitemptypasswords.sh @@ -12,7 +12,7 @@ set -e # One error, it's over set -u # One variable unset, it's over PACKAGE='openssh-server' -OPTIONS='PermitRootLogin=no' +OPTIONS='PermitEmptyPasswords=no' FILE='/etc/ssh/sshd_config' # This function will be called if the script status is on enabled / audit mode