6253 F_GETLK doesn't always return lock owner
[illumos-gate.git] / usr / src / man / man1m / mkpwdict.1m
blob8b896093b5ddb07e2b8befc489d10ea461c2dc97
1 '\" te
2 .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH MKPWDICT 1M "Jun 1, 2004"
7 .SH NAME
8 mkpwdict \- maintain password-strength checking database
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/sbin/mkpwdict\fR [\fB-s\fR \fIdict1\fR,... ,\fIdictN\fR]
13      [\fB-d\fR \fIdestination-path\fR]
14 .fi
16 .SH DESCRIPTION
17 .sp
18 .LP
19 The \fBmkpwdict\fR command adds words to the dictionary-lookup database used by
20 \fBpam_authtok_check\fR(5) and \fBpasswd\fR(1).
21 .sp
22 .LP
23 Files containing words to be added to the database can be specified on the
24 command-line using the \fB-s\fR flag. These source files should have a single
25 word per line, much like \fB/usr/share/lib/dict/words\fR.
26 .sp
27 .LP
28 If \fB-s\fR is omitted, \fBmkpwdict\fR will use the value of \fBDICTIONLIST\fR
29 specified in \fB/etc/default/passwd\fR (see \fBpasswd\fR(1)).
30 .sp
31 .LP
32 The database is created in the directory specified by the \fB-d\fR option. If
33 this option is omitted, \fBmkpwdict\fR uses the value of \fBDICTIONDBDIR\fR
34 specified in \fB/etc/default/passwd\fR (see \fBpasswd\fR(1)). The default
35 location is \fB/var/passwd\fR.
36 .SH OPTIONS
37 .sp
38 .LP
39 The following options are supported:
40 .sp
41 .ne 2
42 .na
43 \fB\fB-s\fR\fR
44 .ad
45 .RS 6n
46 Specifies a comma-separated list of files containing words to be added to the
47 dictionary-lookup database.
48 .RE
50 .sp
51 .ne 2
52 .na
53 \fB\fB-d\fR\fR
54 .ad
55 .RS 6n
56 Specifies the target location of the dictionary-database.
57 .RE
59 .SH FILES
60 .sp
61 .ne 2
62 .na
63 \fB\fB/etc/default/passwd\fR\fR
64 .ad
65 .RS 23n
66 See \fBpasswd\fR(1).
67 .RE
69 .sp
70 .ne 2
71 .na
72 \fB\fB/var/passwd\fR\fR
73 .ad
74 .RS 23n
75 default destination directory
76 .RE
78 .SH ATTRIBUTES
79 .sp
80 .LP
81 See \fBattributes\fR(5) for descriptions of the following attributes:
82 .sp
84 .sp
85 .TS
86 box;
87 c | c
88 l | l .
89 ATTRIBUTE TYPE  ATTRIBUTE VALUE
91 Interface Stability     Evolving
92 .TE
94 .SH SEE ALSO
95 .sp
96 .LP
97 \fBpasswd\fR(1), \fBattributes\fR(5), \fBpam_authtok_check\fR(5)