mkpasswd
reads the file in the format given by the flags and converts it to the
corresponding database file format.
These database files are used to improve access performance on systems
with large numbers of users.
The output files will be named file.dir and file.pag.
The -f option causes mkpasswd to ignore any existing output
files and overwrite them.
Normally mkpasswd complains about existing output files and quits.
The -v option causes mkpasswd to output information about
each 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 file
format 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 file
format is used instead.