fixed option name in 9.3.9_disable_sshd_permitemptypasswords.sh, was PermitRootLogin instead of PermitEmptyPassword

This commit is contained in:
Matthieu Destrez 2016-06-29 15:12:21 +02:00
parent f9889434e4
commit 1e47226bd4
No known key found for this signature in database
GPG Key ID: 673ED85E240BC5DC

View File

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