.\" Copyright (c) 1985 The Regents of the University of California.
.\" Redistribution and use in source and binary forms are permitted
.\" provided that the above copyright notice and this paragraph are
.\" duplicated in all such forms and that any documentation,
.\" advertising materials, and other materials related to such
.\" distribution and use acknowledge that the software was developed
.\" by the University of California, Berkeley. The name of the
.\" University may not be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\" @(#)mkpasswd.8 6.5 (Berkeley) %G%
mkpasswd \- generate hashed password table
is used to generated the hashed password database used by the
password library routines (see
must be in password file format (see
generates database files named ``passwdfile.pag'' and
Data subsequently taken from the database files differ from
Rather than storing the encrypted password in the database,
stores the offset of the encrypted password in
exits zero on success, non-zero on failure.
to create ``passwdfile.orig'', a password file in the
standard Version 7 format.
chpass(1), passwd(1), getpwent(3), ndbm(3), passwd(5), vipw(8)