MKPASSWD(8) MKPASSWD(8) NAME mkpasswd - generate hashed password table SYNOPSIS /etc/mkpasswd [ -v ] passwdfile DESCRIPTION _M_k_p_a_s_s_w_d is used to generated the hashed password database used by the library routines getpwnam() and getpwuid(). If the -v option is sup‐ plied, each entry will be listed as it is added. The file _p_a_s_s_w_d_f_i_l_e is usually /etc/ptmp (invoked by vipw(8)), and in any case must be in the format of /etc/passwd (see passwd(5)). _M_k_p_a_s_s_w_d will generate database files named _p_a_s_s_w_d_f_i_l_e_._p_a_g and _p_a_s_s_w_d_f_i_l_e_._d_i_r_. _M_k_p_a_s_s_w_d will exit with a non-zero exit code if any errors are detected. FILES _p_a_s_s_w_d_f_i_l_e.pag - database filenames _p_a_s_s_w_d_f_i_l_e.dir SEE ALSO getpwent(3), vipw(8), passwd(5) 4.3 Berkeley Distribution June 3, 1986 MKPASSWD(8)