Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mkpasswd(8) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

passwd, chfn, chsh

vipw

yppasswd

adduser, users

passwd

getpwuid

getpwnam subroutines in the AIX



MKPASSWD(8,C)               AIX Commands Reference                MKPASSWD(8,C)



-------------------------------------------------------------------------------
mkpasswd



PURPOSE

Generates hashed password table.

SYNTAX


            +------+
mkpasswd ---|      |--- passwdfile ---|
            +- -v -+


Warning: See restrictions, Chapter 18, AIX Programming Tools and Interfaces.

DESCRIPTION

The mkpasswd command is used to generate the hashed password data base used by
the subroutines getpwnam and getpwuid.  If the -v option is supplied, each
entry is listed as it is added.  The passwdfile file is usually /etc/ptmp
(invoked by the vipw command, and in any case must be in the format of
/etc/passwd).  The mkpasswd command generates data base files named
passwdfile.pag and passwdfile.dir.  The mkpasswd command exits with a non-zero
exit code if any errors are detected.

Note:  This command requires that the passwd.dir and passwd.pag files are
       removed before running.

FILES

passwdfile.pag  Data base file
passwdfile.dir  Data base file

RELATED INFORMATION

See the following commands:  "passwd, chfn, chsh,"  "vipw," "yppasswd" and
"adduser, users."

See the passwd file format and the getpwuid and getpwnam subroutines in the AIX
Technical Reference.











Processed November 8, 1990       MKPASSWD(8,C)                                1



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