The Photon operating system must enforce password complexity on the root account.
An XCCDF Rule
Description
Password complexity rules must apply to all accounts on the system, including root. Without specifying the "enforce_for_root flag", "pam_cracklib" does not apply complexity rules to the root user. While root users can find ways around this requirement, given its superuser power, it is necessary to attempt to force compliance.
- ID
- SV-256579r991589_rule
- Version
- PHTN-30-000110
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Navigate to and open:
/etc/pam.d/system-password
Add the following, replacing any existing "pam_cracklib.so" line: