SV-256506r982201_rule
V-256506
SRG-OS-000077-GPOS-00045
PHTN-30-000029
CAT II
10
Navigate to and open:
/etc/pam.d/system-password
Add the following line after the "password requisite pam_cracklib.so" statement:
password requisite pam_pwhistory.so enforce_for_root use_authtok remember=5 retry=3
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:
# grep pam_pwhistory /etc/pam.d/system-password|grep --color=always "remember=."
Expected result:
password requisite pam_pwhistory.so enforce_for_root use_authtok remember=5 retry=3
If the output does not include the "remember=5" setting as shown in the expected result, this is a finding.
V-256506
False
PHTN-30-000029
At the command line, run the following command:
# grep pam_pwhistory /etc/pam.d/system-password|grep --color=always "remember=."
Expected result:
password requisite pam_pwhistory.so enforce_for_root use_authtok remember=5 retry=3
If the output does not include the "remember=5" setting as shown in the expected result, this is a finding.
M
5520