SV-269397r1050280_rule
V-269397
SRG-OS-000072-GPOS-00040
ALMA-09-037090
CAT II
10
Configure AlmaLinux OS 9 to require the change of at least eight of the total number of characters when passwords are changed by setting the "difok" option.
Add or update the following line in the "/etc/security/pwquality.conf" file or a configuration file in the "/etc/security/pwquality.conf.d/" directory:
difok = 8
Remove any configurations that conflict with the above value.
Verify that AlmaLinux OS 9 enforces password complexity by requiring at least eight characters differ when passwords are changed with the following command:
$ grep -r difok /etc/security/pwquality.conf*
/etc/security/pwquality.conf.d/stig.conf:difok = 8
If the value of "difok" is less than "8", is not set, is commented out, or if conflicting results are returned, this is a finding.
V-269397
False
ALMA-09-037090
Verify that AlmaLinux OS 9 enforces password complexity by requiring at least eight characters differ when passwords are changed with the following command:
$ grep -r difok /etc/security/pwquality.conf*
/etc/security/pwquality.conf.d/stig.conf:difok = 8
If the value of "difok" is less than "8", is not set, is commented out, or if conflicting results are returned, this is a finding.
M
5664