SV-258107r1045218_rule
V-258107
SRG-OS-000078-GPOS-00046
RHEL-09-611090
CAT II
10
Configure RHEL 9 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 that RHEL 9 enforces a minimum 15-character password length with the following command:
$ grep minlen /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.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-258107
False
RHEL-09-611090
Verify that RHEL 9 enforces a minimum 15-character password length with the following command:
$ grep minlen /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.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
5551