~ubuntu-branches/debian/lenny/cracklib2/lenny

« back to all changes in this revision

Viewing changes to debian/crack_teststr.8

  • Committer: Bazaar Package Importer
  • Author(s): Jan Dittberner, Steve Langasek, Jan Dittberner
  • Date: 2008-10-16 21:04:24 UTC
  • mfrom: (4.1.2 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081016210424-bp06uo8c6xkjabzi
Tags: 2.8.12-8lenny1
[ Steve Langasek ]
* debian/update-cracklib: don't rely on [ -nt ] to return true when
  the second file is non-existent, since this fails under dash.
  LP: #278743.

[ Jan Dittberner ]
* integrate Ubuntu bugfix
* use set -e in debian/cracklib-runtime.preinst to fix lintian warning
  maintainer-script-ignores-errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" source:
2
 
.\"   /var/cvs/projects/debian/cracklib/debian/dpkg.src/cracklib-runtime.crack_teststr.8.in,v
3
 
.\"
4
 
.\" revision:
5
 
.\"   @(#) cracklib-runtime.crack_teststr.8.in,v 1.6 1999/03/29 15:30:21 jplejacq Exp
6
 
.\"
7
 
.\" copyright:
8
 
.\"   Copyright (C) 1998, 1999 Jean Pierre LeJacq <jplejacq@quoininc.com>
9
 
.\"
10
 
.\"   Distributed under the GNU GENERAL PUBLIC LICENSE.
11
 
.\"
12
 
.TH crack_teststr 8 "Wed, 3 Oct 2001 01:37:09 +0100" "2.7-8.5" "Debian GNU/Linux manual"
13
 
.SH NAME
14
 
crack_testlib, crack_testnum, crack_teststr \- cracklib test utilities
15
 
.SH SYNOPSIS
16
 
.B crack_testlib
17
 
 
18
 
.B crack_testnum
19
 
 
20
 
.B crack_teststr
21
 
.SH DESCRIPTION
22
 
.B crack_testlib
23
 
tests if the input string will be accepted as a valid password by the
24
 
installed cracklib dictionary using the
25
 
.BR FascistCheck (3)
26
 
subroutine.
27
 
.B crack_testnum
28
 
tests if the input integer is an index to a word in the installed
29
 
cracklib dictionary and returns the word if found.
30
 
.B crack_teststr
31
 
tests if the input string is in the installed cracklib dictionary and 
32
 
returns its index number if found.
33
 
 
34
 
The database is in a binary format generated by the utilities
35
 
.BR crack_mkdict (8)
36
 
and
37
 
.BR crack_packer (8).
38
 
On a Debian system the database is located in the directory
39
 
/var/cache/cracklib/cracklib_dict and is generated daily with the program
40
 
.B update-cracklib
41
 
(8), which is called from the cron job
42
 
.B /etc/cron.daily/cracklib
43
 
\. The location is also defined in the header file
44
 
.B crack.h
45
 
using the constant
46
 
.B CRACKLIB_DICTPATH
47
 
though none of the subroutines in the cracklib libraries have this
48
 
location hardcoded into their implementations.
49
 
 
50
 
Each take one string or number per line.  Enter ^C when done.
51
 
.SH FILES
52
 
.TP
53
 
.I /var/cache/cracklib/cracklib_dict.[hwm|pwd|pwi]
54
 
cracklib dictionary database files used by utilities.
55
 
.TP
56
 
.I /etc/cron.daily/cracklib
57
 
cracklib daily cron program to rebuild the cracklib dictionary database.
58
 
.TP
59
 
.I /etc/cracklib/cracklib.conf
60
 
cracklib configuration file used by the cracklib daily cron program to
61
 
rebuild the cracklib dictionary database.
62
 
.TP
63
 
.I /usr/include/crack.h
64
 
cracklib header file defining the subroutine
65
 
.BR FascistCheck (3)
66
 
and the constant
67
 
.B CRACKLIB_DICTPATH
68
 
used to compile in the location of the cracklib dictionary database for
69
 
these utilities.
70
 
.SH SEE ALSO
71
 
.BR crack_mkdict (8),
72
 
.BR FascistCheck (3)
73
 
.br
74
 
/usr/share/doc/cracklib2/cracklib2.html
75
 
.br
76
 
/usr/share/doc/cracklib-runtime/cracklib-runtime.html
77
 
.SH AUTHOR
78
 
.B cracklib2
79
 
is written by Alec Muffett <alecm@crypto.dircon.co.uk>. Manual added
80
 
by Jean Pierre LeJacq <jplejacq@quoininc.com>.