SV-239074r675030_rule
V-239074
SRG-OS-000021-GPOS-00005
PHTN-67-000002
CAT II
10
Open /etc/pam.d/system-auth with a text editor.
Add the following line after the last auth statement:
auth required pam_tally2.so file=/var/log/tallylog deny=3 onerr=fail even_deny_root unlock_time=86400 root_unlock_time=300
At the command line, execute the following command:
# grep pam_tally2 /etc/pam.d/system-auth|grep --color=always "deny=."
Expected result:
auth required pam_tally2.so file=/var/log/tallylog deny=3 onerr=fail even_deny_root unlock_time=86400 root_unlock_time=300
If the output does not match the expected result, this is a finding.
V-239074
False
PHTN-67-000002
At the command line, execute the following command:
# grep pam_tally2 /etc/pam.d/system-auth|grep --color=always "deny=."
Expected result:
auth required pam_tally2.so file=/var/log/tallylog deny=3 onerr=fail even_deny_root unlock_time=86400 root_unlock_time=300
If the output does not match the expected result, this is a finding.
M
5323