mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-22 13:37:02 +01:00
fixed option name in 9.3.9_disable_sshd_permitemptypasswords.sh, was PermitRootLogin instead of PermitEmptyPassword
This commit is contained in:
parent
3209a4c302
commit
f5cb5ddf97
@ -12,7 +12,7 @@ set -e # One error, it's over
|
|||||||
set -u # One variable unset, it's over
|
set -u # One variable unset, it's over
|
||||||
|
|
||||||
PACKAGE='openssh-server'
|
PACKAGE='openssh-server'
|
||||||
OPTIONS='PermitRootLogin=no'
|
OPTIONS='PermitEmptyPasswords=no'
|
||||||
FILE='/etc/ssh/sshd_config'
|
FILE='/etc/ssh/sshd_config'
|
||||||
|
|
||||||
# This function will be called if the script status is on enabled / audit mode
|
# This function will be called if the script status is on enabled / audit mode
|
||||||
|
Loading…
Reference in New Issue
Block a user