SV-239101r675111_rule
V-239101
SRG-OS-000077-GPOS-00045
PHTN-67-000029
CAT II
10
Open /etc/pam.d/system-password with a text editor.
Add the following line after the last auth statement:
password required pam_pwhistory.so enforce_for_root use_authtok remember=5 retry=3
At the command line, execute the following command:
# grep pam_pwhistory /etc/pam.d/system-password|grep --color=always "remember=."
Expected result:
password required pam_pwhistory.so enforce_for_root use_authtok remember=5 retry=3
If the output does not match the expected result, this is a finding.
V-239101
False
PHTN-67-000029
At the command line, execute the following command:
# grep pam_pwhistory /etc/pam.d/system-password|grep --color=always "remember=."
Expected result:
password required pam_pwhistory.so enforce_for_root use_authtok remember=5 retry=3
If the output does not match the expected result, this is a finding.
M
5323