1.283 RHEL-10-600620

Information

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

GROUP ID: V-281214RULE ID: SV-281214r1166594

Enabling Pluggable Authentication Module (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

Solution

Configure RHEL 10 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/26403