SV-258101r1045204_rule
V-258101
SRG-OS-000072-GPOS-00040
RHEL-09-611060
CAT II
10
Configure RHEL 9 to enforce password complexity on the root account.
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 "enforce_for_root" parameter:
enforce_for_root
Verify that RHEL 9 enforces password complexity rules for the root account.
Check if root user is required to use complex passwords with the following command:
$ grep enforce_for_root /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:enforce_for_root
If "enforce_for_root" is commented or missing, this is a finding.
V-258101
False
RHEL-09-611060
Verify that RHEL 9 enforces password complexity rules for the root account.
Check if root user is required to use complex passwords with the following command:
$ grep enforce_for_root /etc/security/pwquality.conf /etc/security/pwquality.conf.d/*.conf
/etc/security/pwquality.conf:enforce_for_root
If "enforce_for_root" is commented or missing, this is a finding.
M
5551