PASSWD(5) UNIX Programmer's Manual PASSWD(5)
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
_
\bP_
\ba_
\bs_
\bs_
\bw_
\bd contains for each user the following information:
name (login name, contains no upper case)
user's real name, office, extension, home phone.
initial working directory
The name may contain `&', meaning insert the login name.
This information is set by the _
\bc_
\bh_
\bf_
\bn(1) command and used by
the _
\bf_
\bi_
\bn_
\bg_
\be_
\br(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 /_
\bb_
\bi_
\bn/_
\bs_
\bh 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
Appropriate precautions must be taken to lock the file
against changes if it is to be edited with a text editor;
_
\bv_
\bi_
\bp_
\bw(8) does the necessary locking.
S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
getpwent(3), login(1), crypt(3), passwd(1), group(5),
chfn(1), finger(1), vipw(8), adduser(8)
User information (name, office, etc.) should be stored else-
Printed 7/9/88 January 8, 1986 1