1.89 SOL-11.1-040190

Information

The system must prevent the use of dictionary words for passwords.

GROUP ID: V-216103RULE ID: SV-216103r959010

The use of common words in passwords simplifies password-cracking attacks.

Solution

The root role is required.

pfedit /etc/default/passwd

Insert the lines:

DICTIONLIST=/usr/share/lib/dict/wordsDICTIONDBDIR=/var/passwd

Generate the password dictionary by running the mkpwdict command.

mkpwdict -s /usr/share/lib/dict/words

See Also

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