SV-269396r1050279_rule
V-269396
SRG-OS-000072-GPOS-00040
ALMA-09-036980
CAT II
10
Configure AlmaLinux OS 9 to require the change of the number of repeating characters of the same character class when passwords are changed by setting the "maxclassrepeat" option.
Add the following line to "/etc/security/pwquality.conf" conf (or modify the line to have the required value):
maxclassrepeat = 4
Verify the value of the "maxclassrepeat" option in "/etc/security/pwquality.conf" with the following command:
$ grep -ir maxclassrepeat /etc/security/pwquality.conf*
/etc/security/pwquality.conf:# maxclassrepeat = 0
/etc/security/pwquality.conf.d/stig.conf:maxclassrepeat = 4
If the value of "maxclassrepeat" is set to "0", more than "4", or is commented out, this is a finding.
V-269396
False
ALMA-09-036980
Verify the value of the "maxclassrepeat" option in "/etc/security/pwquality.conf" with the following command:
$ grep -ir maxclassrepeat /etc/security/pwquality.conf*
/etc/security/pwquality.conf:# maxclassrepeat = 0
/etc/security/pwquality.conf.d/stig.conf:maxclassrepeat = 4
If the value of "maxclassrepeat" is set to "0", more than "4", or is commented out, this is a finding.
M
5664