SV-204411r603261_rule
V-204411
SRG-OS-000072-GPOS-00040
RHEL-07-010160
CAT II
10
Configure the operating system to require the change of at least eight of the total number of characters when passwords are changed by setting the "difok" option.
Add the following line to "/etc/security/pwquality.conf" (or modify the line to have the required value):
difok = 8
The "difok" option sets the number of characters in a password that must not be present in the old password.
Check for the value of the "difok" option in "/etc/security/pwquality.conf" with the following command:
# grep difok /etc/security/pwquality.conf
difok = 8
If the value of "difok" is set to less than "8", this is a finding.
V-204411
False
RHEL-07-010160
The "difok" option sets the number of characters in a password that must not be present in the old password.
Check for the value of the "difok" option in "/etc/security/pwquality.conf" with the following command:
# grep difok /etc/security/pwquality.conf
difok = 8
If the value of "difok" is set to less than "8", this is a finding.
M
2899