Q&A: Can I create my own password quality check dictionary

Can I create my own password quality check dictionary

Question

How do I create my own password quality check dictionary?

Answer

If you want to create your own dictionary for the password quality check, e.g. to exclude the company name, you can do this via a simple text file (one word per line) in the /usr/share/dict folder.
The update can be performed manually with:

/usr/sbin/update-cracklib -a -r /etc/cracklib/cracklib.conf

or automatically by cron once a day.

1 Like
Mastodon