Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mkpasswd(8) — Duplix 4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpwent(3)

vipw(8)

passwd(5)

MKPASSWD(8)  —  Unix Programmer’s Manual

NAME

mkpasswd − generate hashed password table

SYNOPSIS

/etc/mkpasswd [ options ] passwdfile

DESCRIPTION

Mkpasswd generates the hashed password database used by the library routines getpwnam() and getpwuid().  This database is stored in the files passwd.pag and passwd.dir. 

Usually, the passwdfile you invoke on the command line will be /etc/ptmp (the file invoked by the vipw(8) command).  In any case, the passwdfile must be in the format of /etc/passwd.  (See the passwd(5) man page for a description of this format.) 

Mkpasswd exits with a non-zero exit code if it detects errors. 

OPTIONS

−v Lists each entry as it is added. 

FILES

passwdfile.pagdatabase file
passwdfile.dirdatabase file

SEE ALSO

getpwent(3), vipw(8), passwd(5)

6 BSD  —  November 23, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026