SV-258861r958388_rule
V-258861
SRG-OS-000021-GPOS-00005
PHTN-40-000195
CAT II
10
Navigate to and open:
/etc/security/faillock.conf
Add or update the following lines:
even_deny_root
Note: On vCenter appliances, the equivalent file must be edited under "/etc/applmgmt/appliance", if one exists, for the changes to persist after a reboot.
At the command line, run the following command to verify accounts are locked after three consecutive invalid logon attempts by a user during a 15-minute time period includes the root account:
# grep '^even_deny_root' /etc/security/faillock.conf
Example result:
even_deny_root
If the "even_deny_root" option is not set, is missing or commented out, this is a finding.
Note: If faillock.conf is not used to configure pam_faillock.so then these options may be specified on the faillock lines in the system-auth and system-account files.
V-258861
False
PHTN-40-000195
At the command line, run the following command to verify accounts are locked after three consecutive invalid logon attempts by a user during a 15-minute time period includes the root account:
# grep '^even_deny_root' /etc/security/faillock.conf
Example result:
even_deny_root
If the "even_deny_root" option is not set, is missing or commented out, this is a finding.
Note: If faillock.conf is not used to configure pam_faillock.so then these options may be specified on the faillock lines in the system-auth and system-account files.
M
5569