MAN page from RedHat 5.X shadow-utils-980403-3.i386.rpm
Section: User Commands (1)Index
mkpasswd - Update passwd and group database files
reads the file in the format given by the flags and converts it to thecorresponding database file format.These database files are used to improve access performance on systemswith large numbers of users.The output files will be named file
.dir and file
The -f option causes mkpasswd to ignore any existing outputfiles and overwrite them.Normally mkpasswd complains about existing output files and quits.
The -v option causes mkpasswd to output information abouteach record as it is converted, with a final message at the very end.
The -g option treats the input file as though it were in/etc/group file format.When combined with the -s option, the /etc/gshadow fileformat is used instead.
The -p option treats the input file as though it were in/etc/passwd file format.This is the default.When combined with the -s option, the /etc/shadow fileformat is used instead.
The use of more than one database file is limited to systems whichinclude the NDBM database library and therefore may not be availableon every system.
Since most commands are capable of updating the database files aschanges are made, this command need only be used when re-creating adeleted or corrupted database file.
/etc/passwd - user account information
/etc/shadow - shadow user information
/etc/group - group information
/etc/gshadow - shadow group information
Julianne Frances Haugh (jfhAATTtab.com)
- SEE ALSO
This document was created byman2html,using the manual pages.