PASSWD(5) UNIX Programmer's Manual PASSWD(5) NAME passwd - password file DESCRIPTION _P_a_s_s_w_d contains for each user the following information: name (login name, contains no upper case) encrypted password numerical user ID numerical group ID user's real name, office, extension, home phone. initial working directory program to use as Shell The name may contain `&', meaning insert the login name. This information is set by the _c_h_f_n(1) command and used by the _f_i_n_g_e_r(1) command. This is an ASCII file. Each field within each user's entry is separated from the next by a colon. Each user is separated from the next by a new-line. If the password field is null, no password is demanded; if the Shell field is null, then /_b_i_n/_s_h is used. This file resides in directory /etc. Because of the encrypted passwords, it can and does have general read per- mission and can be used, for example, to map numerical user ID's to names. Appropriate precautions must be taken to lock the file against changes if it is to be edited with a text editor; _v_i_p_w(8) does the necessary locking. FILES /etc/passwd SEE ALSO chfn(1), finger(1), login(1), passwd(1), crypt(3), getpwent(3), group(5), vipw(8) BUGS A binary indexed file format should be available for fast access. User information (name, office, etc.) should be stored else- where. Printed 8/1/83 1