SV-221673r603260_rule
V-221673
SRG-OS-000072-GPOS-00040
OL07-00-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-221673
False
OL07-00-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
4089