SV-281181r1195421_rule
V-281181
SRG-OS-000078-GPOS-00046
RHEL-10-600220
CAT II
10
Configure RHEL 10 to enforce a minimum 15-character password length.
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 "minlen" parameter:
minlen = 15
Verify RHEL 10 enforces a minimum 15-character password length with the following command:
$ sudo grep -s minlen /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:minlen = 15
If the command does not return a "minlen" value of "15" or greater, does not return a line, or the line is commented out, this is a finding.
V-281181
False
RHEL-10-600220
Verify RHEL 10 enforces a minimum 15-character password length with the following command:
$ sudo grep -s minlen /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:minlen = 15
If the command does not return a "minlen" value of "15" or greater, does not return a line, or the line is commented out, this is a finding.
M
5733