1cracklib-format(8)          Debian GNU/Linux manual         cracklib-format(8)
2
3
4

NAME

6       cracklib-format,  cracklib-packer, cracklib-unpacker - cracklib dictio‐
7       nary utilities
8

SYNOPSIS

10       cracklib-format file ...
11
12       cracklib-packer cracklib_dictpath
13
14       cracklib-unpacker cracklib_dictpath
15

DESCRIPTION

17       cracklib-format takes a list of text files each containing  a  list  of
18       words,  one  per line, It lowercases all words, removes control charac‐
19       ters, and sorts the lists.  It outputs the cleaned up list to  standard
20       output.  The text files may be optionally compressed with gzip(1).
21
22       If  you supply massive amounts of text to cracklib-format you must have
23       enough free space available for use by the sort(1) command.  If you  do
24       not have 20Mb free in /var/tmp (or whatever temporary area your sort(1)
25       command uses), have a look  at  the  /usr/sbin/cracklib-format  program
26       which is a sh(1) program.  You can usually tweak the sort(1) command to
27       use any large area of disk you desire, by use of the -T option.  crack‐
28       lib-format has a hook for this.
29
30       cracklib-packer  reads from standard input a list of sorted and cleaned
31       words and creates a database in the directory and prefix given  by  the
32       command  line argument cracklib_dictpath.  Three files are created with
33       the suffixes of .hwm, .pwd, and .pwi.  These three  files  are  in  the
34       format  that  the FascistCheck(3) subroutine, cracklib-unpacker(8), and
35       cracklib-check(8), utilities understand.  The number of words read  and
36       written are printed on stdout(3).
37
38       cracklib-unpacker  reads  from the database in the directory and prefix
39       given by the command line argument  cracklib_dictpath  and  outputs  on
40       standard output the list of words that make up the database.
41
42       The  database  is  in a binary format generated by the utilities crack‐
43       lib-format(8) and cracklib-packer(8).  On a Debian system the  database
44       is  located  in  the directory /var/cache/cracklib/cracklib_dict and is
45       generated daily with the program /etc/cron.daily/cracklib.   The  loca‐
46       tion  is  also  defined  in  the header file crack.h using the constant
47       CRACKLIB_DICTPATH though  none  of  the  subroutines  in  the  cracklib
48       libraries have this location hardcoded into their implementations.
49
50

FILES

52       /var/cache/cracklib/cracklib_dict.[hwm|pwd|pwi]
53              cracklib dictionary database files used by utilities.
54
55       /etc/cron.daily/cracklib
56              cracklib  daily  cron program to rebuild the cracklib dictionary
57              database.
58
59       /etc/cracklib/cracklib.conf
60              cracklib configuration file used by the cracklib daily cron pro‐
61              gram to rebuild the cracklib dictionary database.
62
63       /usr/include/crack.h
64              cracklib header file defining the subroutine FascistCheck(3) and
65              the constant CRACKLIB_DICTPATH used to compile in  the  location
66              of the cracklib dictionary database for these utilities.
67
68       /usr/sbin/cracklib-format
69              cracklib  shell  script to create initial list of words for dic‐
70              tionary database.
71

SEE ALSO

73       FascistCheck(3), cracklib-check(8),  update-cracklib(8),  create-crack‐
74       lib-dict(8)
75       /usr/share/doc/libcrack2/libcrack2.html
76       /usr/share/doc/cracklib-runtime/cracklib-runtime.html
77

AUTHOR

79       cracklib2  is written by Alec Muffett <alecm@crypto.dircon.co.uk>. Man‐
80       ual added by Jean Pierre LeJacq <jplejacq@quoininc.com>.
81
82
83
842.7-8.5                  Sat Jun 21 22:43:12 CEST 2008      cracklib-format(8)
Impressum