xref: /original-bsd/old/mkpasswd/mkpasswd.8 (revision a0a7d8f4)
Copyright (c) 1985 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)mkpasswd.8 6.1 (Berkeley) 04/27/85

MKPASSWD 8 ""
C 6
NAME
mkpasswd - generate hashed password table
SYNOPSIS
/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 (invoked by vipw(8)), 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
getpwent(3), vipw(8), passwd(5)
BUGS