SV-252946r1190835_rule
V-252946
SRG-OS-000021-GPOS-00005
TOSS-04-020000
CAT II
10
Configure the operating system to lock an account when three unsuccessful logon attempts occur in 15 minutes.
Add/Modify the "/etc/security/faillock.conf" file to match the following lines:
deny = 3
fail_interval = 900
Verify the "/etc/security/faillock.conf" file is configured to lock an account after three unsuccessful logon attempts within 15 minutes:
$ sudo grep -e "deny =" -e "fail_interval =" /etc/security/faillock.conf
deny = 3
fail_interval = 900
If the "deny" option is set to "0", more than "3", is missing, or is commented out, this is a finding.
If the "fail_interval" option is set to less than "900", is missing, or is commented out, this is a finding.
V-252946
False
TOSS-04-020000
Verify the "/etc/security/faillock.conf" file is configured to lock an account after three unsuccessful logon attempts within 15 minutes:
$ sudo grep -e "deny =" -e "fail_interval =" /etc/security/faillock.conf
deny = 3
fail_interval = 900
If the "deny" option is set to "0", more than "3", is missing, or is commented out, this is a finding.
If the "fail_interval" option is set to less than "900", is missing, or is commented out, this is a finding.
M
5469