MKPASSWD(8) — UNIX Programmer’s Manual
NAME
mkpasswd − generate hashed password table
SYNOPSIS
/usr/etc/mkpasswd [ −v ] passwdfile
DESCRIPTION
Mkpasswd 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 passwdfile is usually /etc/ptmp, and in any case must be in the format of /etc/passwd (see passwd(5)). Mkpasswd will generate database files named passwdfile.pag and passwdfile.dir. Mkpasswd will exit with a non-zero exit code if any errors are detected.
FILES
passwdfile.pag- database filenames
passwdfile.dir
SEE ALSO
4.3 Berkeley Distribution — June 3, 1986