MKPASSWD(8,C) AIX Commands Reference MKPASSWD(8,C) ------------------------------------------------------------------------------- mkpasswd PURPOSE Generates hashed password table. SYNTAX +------+ mkpasswd ---| |--- passwdfile ---| +- -v -+ 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. See Chapter 18 of the AIX Programming Tools and Interfaces for general information on using commands in an MBCS environment. Processed July 12, 1991 MKPASSWD(8,C) 1