SV-230363r1017175_rule
V-230363
SRG-OS-000072-GPOS-00040
RHEL-08-020170
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
Remove any configurations that conflict with the above value.
Verify the value of the "difok" option with the following command:
$ sudo grep -r difok /etc/security/pwquality.conf*
/etc/security/pwquality.conf:difok = 8
If the value of "difok" is set to less than "8" or is commented out, this is a finding.
If conflicting results are returned, this is a finding.
V-230363
False
RHEL-08-020170
Verify the value of the "difok" option with the following command:
$ sudo grep -r difok /etc/security/pwquality.conf*
/etc/security/pwquality.conf:difok = 8
If the value of "difok" is set to less than "8" or is commented out, this is a finding.
If conflicting results are returned, this is a finding.
M
2921