1.317 RHEL-09-611040

Information

RHEL 9 must ensure the password complexity module is enabled in the password-auth file.

GROUP ID: V-258097
RULE ID: SV-258097r1045193

Enabling PAM password complexity permits enforcement of strong passwords and consequently makes the system less prone to dictionary attacks.

Satisfies: SRG-OS-000069-GPOS-00037, SRG-OS-000070-GPOS-00038, SRG-OS-000480-GPOS-00227

Solution

Configure RHEL 9 to use "pwquality" to enforce password complexity rules.

Add the following line to the "/etc/pam.d/password-auth" file (or modify the line to have the required value):

password required pam_pwquality.so

See Also

https://workbench.cisecurity.org/benchmarks/22008

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5, 800-53|IA-5(1), CAT|II, CCI|CCI-000192, CCI|CCI-000193, CCI|CCI-004066, Rule-ID|SV-258097r1045193_rule, STIG-ID|RHEL-09-611040, Vuln-ID|V-258097

Plugin: Unix

Control ID: ccc6c9e7508ce47b1c90182ed8bcc0e6e51fa938181e884ab55235c566eeb953