4.3BSD-UWisc/man/cat8/mkpasswd.8
MKPASSWD(8) UNIX Programmer's Manual MKPASSWD(8)
NAME
mkpasswd - generate hashed password table
SYNOPSIS
/etc/mkpasswd [ -v ] passwdfile
DESCRIPTION
_M_k_p_a_s_s_w_d is used to generated the hashed password database
used by the library routines getpwnam() and getpwuid(). If
the -v option is supplied, each entry will be listed as it
is added. The file _p_a_s_s_w_d_f_i_l_e is usually /etc/ptmp (invoked
by vipw(8)), and in any case must be in the format of
/etc/passwd (see passwd(5)). _M_k_p_a_s_s_w_d will generate data-
base files named _p_a_s_s_w_d_f_i_l_e._p_a_g and _p_a_s_s_w_d_f_i_l_e._d_i_r. _M_k_p_a_s_s_w_d
will exit with a non-zero exit code if any errors are
detected.
FILES
_p_a_s_s_w_d_f_i_l_e.pag - database filenames
_p_a_s_s_w_d_f_i_l_e.dir
SEE ALSO
getpwent(3), vipw(8), passwd(5)
Printed 12/27/86 June 3, 1986 1