crack_teststr(8)

crack_teststr8

Cracklib test utilities

Usage

crack_testlib

crack_testnum

crack_teststr

Overview

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.

Releases

6 releases since Debian 2.0 (Hamm); the text changed 4 times.

  1. 2.0–2.1
  2. 2.2
  3. 3.0
  4. 3.1
  5. 4.0

Author

cracklib2 is written by Alec Muffett <[email protected]>. Manual added by Jean Pierre LeJacq <[email protected]>.

From cracklib-runtime 2.7-19 in Debian 4.0 (Etch). Parsed by carta from the page's man source.