man crack_teststr (Administration système) - cracklib test utilities

NAME

crack_testlib, crack_testnum, crack_teststr - cracklib test utilities

SYNOPSIS

crack_testlib

crack_testnum

crack_teststr

DESCRIPTION

crack_testlib tests if the input string will be accepted as a valid password by the installed cracklib dictionary using the FascistCheck(3) subroutine. crack_testnum tests if the input integer is an index to a word in the installed cracklib dictionary and returns the word if found. crack_teststr tests if the input string is in the installed cracklib dictionary and returns its index number if found.

The database is in a binary format generated by the utilities crack_mkdict(8) and crack_packer(8). On a Debian system the database is located in the directory /var/cache/cracklib/cracklib_dict and is generated daily with the program update-cracklib (8), which is called from the cron job /etc/cron.daily/cracklib . The location is also defined in the header file crack.h using the constant CRACKLIB_DICTPATH though none of the subroutines in the cracklib libraries have this location hardcoded into their implementations.

Each take one string or number per line. Enter ^C when done.

FILES

/var/cache/cracklib/cracklib_dict.[hwm|pwd|pwi]
cracklib dictionary database files used by utilities.
/etc/cron.daily/cracklib
cracklib daily cron program to rebuild the cracklib dictionary database.
/etc/cracklib/cracklib.conf
cracklib configuration file used by the cracklib daily cron program to rebuild the cracklib dictionary database.
/usr/include/crack.h
cracklib header file defining the subroutine FascistCheck(3) and the constant CRACKLIB_DICTPATH used to compile in the location of the cracklib dictionary database for these utilities.

SEE ALSO

crack_mkdict(8), FascistCheck(3)

/usr/share/doc/cracklib2/cracklib2.html

/usr/share/doc/cracklib-runtime/cracklib-runtime.html

AUTHOR

cracklib2 is written by Alec Muffett <alecm@crypto.dircon.co.uk>. Manual added by Jean Pierre LeJacq <jplejacq@quoininc.com>.

CETTE PAGE DOCUMENTE AUSSI :