SV-281193r1166531_rule
V-281193
SRG-OS-000072-GPOS-00040
RHEL-10-600405
CAT II
10
Configure RHEL 10 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 RHEL 10 enforces password complexity rules for the "root" account.
Check if "root" user is required to use complex passwords with the following command:
$ sudo 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 out or is missing, this is a finding.
V-281193
False
RHEL-10-600405
Verify RHEL 10 enforces password complexity rules for the "root" account.
Check if "root" user is required to use complex passwords with the following command:
$ sudo 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 out or is missing, this is a finding.
M
5733