SV-258115r1045238_rule
V-258115
SRG-OS-000072-GPOS-00040
RHEL-09-611130
CAT II
10
Configure RHEL 9 to require the change of at least four character classes when passwords are changed by setting the "minclass" 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 to contain the "minclass" parameter:
minclass = 4
Verify that RHEL 9 requires passwords to contain at least four character classes.
$ grep minclass /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
minclass = 4
If the value of "minclass" is set to less than "4", or is commented out, this is a finding.
V-258115
False
RHEL-09-611130
Verify that RHEL 9 requires passwords to contain at least four character classes.
$ grep minclass /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
minclass = 4
If the value of "minclass" is set to less than "4", or is commented out, this is a finding.
M
5551