Linux Commands Examples

A great documentation place for Linux commands

update-cracklib

Regenerate cracklib dictionary

Synopsis

update-cracklib


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

update-cracklib builds a compressed and accumulated version of wordlists stored in the directories given in cracklib’s configuration file /etc/cracklib/cracklib.conf. Programs using cracklib2 need this database to be of any use.

By default this script is called by cron every day.

files

/etc/cracklib/cracklib.conf

shell script that sets cracklib_dictpath_src which must be a space separated list of source dictionary files.

result

update-cracklib prints out two numbers: the number of words read from the ASCII dictionaries and the number of words eventually written into the cracklib database; if no error occurred, these should be equal.

0 is returned on success, otherwise an error message is printed to standard error and -1 is returned.


see also

cracklib, crack_mkdict


author

This program and manual page was written by Martin Pitt <martin[:at:]piware[:dot:]de> for the Debian GNU/Linux System (but may be used by others).

How can this site be more helpful to YOU ?


give  feedback