User Commands makedict(1)
NAME
makedict - build npasswd dictionaries
packer - pack hashed dictionary files
unpacker - unpack hashed dictionary files
SYNOPSIS
/makedict -o output [ -m source ] [ -T temp ]
words ... words
/packer dictionary-name
/unpacker dictionary-name
DESCRIPTION
Makedict builds the hashed dictionaries used by npasswd.
The dictionary hash files are built from word lists, which
are text files with one word per line.
Three hashed files are created with the suffixes .hwm, .pwd,
and .pwi .
Packer is a low-level utility which reads words (one per
line) from standard input and packs them into hash files.
Makedict is a smart front-end to packer, and is the pre-
ferred tool for dictionary building.
Unpacker dumps dictionary hashes to standard output, one
word per line.
OPTIONS
Options for makedict.
-o output
Create the dictionary output.
-m source
Merge in words in dictionary source.
-T temp
Use temp as the temporary directory for sorting. Use
this option if the default temporary directory used by
sort(1) is small.
words ... words
Word lists. Compressed files (ending with .Z or .gz)
can be used.
Packer and unpacker take one argument - the name of the dic-
tionary file to pack or unpack.
EXAMPLES
To make the dictionary 'my-dict':
makedict -o my-dict word-list-1 ... word-list-n
SunOS 5.6 Last change: 1
User Commands makedict(1)
Will produce the files my-dict.pwd, my-dict.pwi and
my-dict.hwm.
To add words to an existing dictionary:
makedict -o existing-dict -m existing-dict word-list-1 ... word-list-n
DIAGNOSTICS
Missing option to -o
No output file was specified.
Missing option to -T
No temporary directory was specified.
Missing option to -m
No merge dictionary was specified.
Empty or missing hash file name
One of the dictionary hash files came up empty, either
because the sources were empty or a filesytem error
occurred.
BUGS
The input to packer must be sorted, else the result hash
files will be faulty. Use makedict instead.
SEE ALSO
npasswd(1)
Npasswd Reference Manual
AUTHOR
Clyde Hoover
Academic Computing Services and Instructional Technology
Services
The University of Texas at Austin
c.hoover@cc.utexas.edu
8c9 1998, The University of Texas at Austin. All rights
reserved.
SunOS 5.6 Last change: 2