'\"macro stdmacro
.if n .pH @(#)passwd	40.14 of 10/10/89
.\" Copyright 1989 AT&T
.nr X
.if \nX=0 .ds x} passwd 4 "" "\&"
.if \nX=1 .ds x} passwd 4 ""
.if \nX=2 .ds x} passwd 4 "" "\&"
.if \nX=3 .ds x} passwd "" "" "\&"
.TH \*(x}
.SH NAME
\f4passwd\f1 \- password file
.SH DESCRIPTION
The file
\f4/etc/passwd\f1
contains for each user the
following information:
.RS
.PP
login name
.br
dummy password
.br
numerical user
.SM ID
.br
numerical group
.SM ID
.br
comment
.br
initial working directory
.br
program to use as shell
.RE
.PP
\f4passwd\f1
is an \s-1ASCII\s0 file.
Each field within each user's entry
is separated from the next by a colon.
The comment field can contain any desired information.
Each user is separated from the next by a new-line.
If the shell field is null, \f4/usr/bin/sh\f1
is used.
.PP
This file has user login information
and general read permission.
It can therefore be used, for example,
to map numerical user \s-1ID\s0s to names.
.PP
The \f2password\f1 field consists of the character \f4x\f1.
This field remains only for compatibility reasons.
Password information is contained in the file \f4/etc/shadow\fP; see \f4shadow\fP(4).
.SH FILES
\f4/etc/passwd\f1
.br
\f4/etc/shadow\f1
.SH "SEE ALSO"
\f4pwconv\f1(1M),
\f4useradd\f1(1M),
\f4usermod\f1(1M),
\f4userdel\f1(1M),
\f4shadow\f1(4),
\f4group\f1(4),
\f4unistd\f1(4)
.sp .2
\f4a64l\f1(3C),
\f4getpwent\f1(3C),
\f4putpwent\f1(3C)
in the \f2Programmer's Reference Manual\f1
.sp .2
\f4login\f1(1),
\f4passwd\f1(1)
in the \f2User's Reference Manual\f1
.\"	@(#)passwd.4	6.2 of 10/20/83
.Ee
