SV-271621r1091575_rule
V-271621
SRG-OS-000072-GPOS-00040
OL09-00-001045
CAT II
10
Configure OL 9 to enforce password complexity on the root account.
Add or update the following line in /etc/security/pwquality.conf:
enforce_for_root
Verify that OL 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-271621
False
OL09-00-001045
Verify that OL 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
5680