TESTSTR(1)

NAME
testlib, testnum, teststr - cracklib test utilities

SYNOPSIS
testlib testnum teststr

DESCRIPTION
testlib tests if the input string will be accepted as a valid password by the installed cracklib dictionary using the FascistCheck(3) subroutine. testnum tests if the input integer is an index to a word in the installed cracklib dictionary and returns the word if found. 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 mkdict(1) and packer(1). The database is located in the directory @PREFIX@/lib/cracklib. Each take one string or number per line. Enter ^C when done.

FILES

@PREFIX@/lib/cracklib/pw_dict.[hwm|pwd|pwi]
    cracklib dictionary database files used by utilities.

@PREFIX@/include/packer.h
    cracklib header file defining the subroutine FascistCheck(3) and necessary constants.

SEE ALSO
mkdict(1), cracklib(3)

AUTHOR
CrackLib is written by Alec Muffett <alecm@crypto.dircon.co.uk>.