SV-281189r1195442_rule
V-281189
SRG-OS-000072-GPOS-00040
RHEL-10-600300
CAT II
10
Configure RHEL 10 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 RHEL 10 sets the value of the "minclass" option in "/etc/security/pwquality.conf" with the following command:
$ sudo grep -s minclass /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:minclass = 4
If the value of "minclass" is set to less than "4" or is commented out, this is a finding.
V-281189
False
RHEL-10-600300
Verify RHEL 10 sets the value of the "minclass" option in "/etc/security/pwquality.conf" with the following command:
$ sudo grep -s minclass /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:minclass = 4
If the value of "minclass" is set to less than "4" or is commented out, this is a finding.
M
5733