1.329 RHEL-09-611105

Information

RHEL 9 must prevent the use of dictionary words for passwords.

GROUP ID: V-258110
RULE ID: SV-258110r1045223

Use of a complex password helps to increase the time and resources required to compromise the password. Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks. If RHEL 9 allows the user to select passwords based on dictionary words, this increases the chances of password compromise by increasing the opportunity for successful guesses, and brute-force attacks.

Solution

Configure RHEL 9 to prevent the use of dictionary words for passwords.

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 "dictcheck" parameter:

dictcheck=1

See Also

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