crack_teststr(8)
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 dictio
- nary 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 utili
- ties crack_mkdict(8) and crack_packer(8). On a Debian system the
- database is located in the directory /var/cache/cracklib/crack
- lib_dict and is generated daily with the program update-cracklib
- (8), which is called from the cron job /etc/cron.daily/cracklib
- crack.h using the constant CRACKLIB_DICTPATH though none of the
- subroutines in the cracklib libraries have this location hardcod
- ed 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 utili
- ties.
- /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
pile 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@cryp
- to.dircon.co.uk>. Manual added by Jean Pierre LeJacq <jple
- jacq@quoininc.com>.
- 2.7-8.5 Wed, 3 Oct 2001 01:37:09 +0100