Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved
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.
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.
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]
/usr/sbin/mkpwdict [-s dict1,... ,dictN] [-d destination-path]
The mkpwdict command adds words to the dictionary-lookup database used by pam_authtok_check(5) and passwd(1).
Files containing words to be added to the database can be specified on the command-line using the -s flag. These source files should have a single word per line, much like /usr/share/lib/dict/words.
If -s is omitted, mkpwdict will use the value of DICTIONLIST specified in /etc/default/passwd (see passwd(1)).
The database is created in the directory specified by the -d option. If this option is omitted, mkpwdict uses the value of DICTIONDBDIR specified in /etc/default/passwd (see passwd(1)). The default location is /var/passwd.
The following options are supported: -s
Specifies a comma-separated list of files containing words to be added to the dictionary-lookup database.
Specifies the target location of the dictionary-database.
See passwd(1).
default destination directory
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE |
Interface Stability Evolving |
passwd(1), attributes(5), pam_authtok_check(5)