bsd man page for mkpasswd

Query: mkpasswd

OS: bsd

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MKPASSWD(8)						      System Manager's Manual						       MKPASSWD(8)

NAME
mkpasswd - generate hashed password table
SYNOPSIS
mkpasswd [ -p ] passwdfile
DESCRIPTION
Mkpasswd is used to generated the hashed password database used by the password library routines (see getpwent(3)). The file passwdfile must be in password file format (see passwd(5)). Mkpasswd generates database files named ``passwdfile.pag'' and ``passwdfile.dir'' (see ndbm(3)). Data subsequently taken from the database files differ from passwdfile in one respect. Rather than storing the encrypted password in the database, mkpasswd stores the offset of the encrypted password in passwdfile. Mkpasswd exits zero on success, non-zero on failure. The -p option causes mkpasswd to create ``passwdfile.orig'', a password file in the standard Version 7 format.
SEE ALSO
chpass(1), passwd(1), getpwent(3), ndbm(3), passwd(5), vipw(8) 4.3 Berkeley Distribution February 22, 1989 MKPASSWD(8)
Related Man Pages
mkpasswd(1) - suse
expect_mkpasswd(1) - debian
mkpasswd(1) - centos
htdigest(1) - osx
mkpasswd(1) - freebsd
Similar Topics in the Unix Linux Community
Accessing Oracle via encrypted password
C++ Login System help.
loop picks up password for 2 entry...how to avoid that ?
Script to generate passwd comb.
[solved] HP-UX /etc/passwd file