shadow/man/passwd.5

78 lines
2.1 KiB
Groff

.\"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "PASSWD" 5 "" "" ""
.SH NAME
passwd \- The password file
.SH "DESCRIPTION"
.PP
\fI/etc/passwd\fR contains various pieces of information for each user account\&. Included is:
.TP 3
\(bu
login name
.TP
\(bu
optional encrypted password
.TP
\(bu
numerical user ID
.TP
\(bu
numerical group ID
.TP
\(bu
user name or comment field
.TP
\(bu
user home directory
.TP
\(bu
user command interpreter
.LP
.PP
The password field may not be filled if shadow passwords have been enabled\&. If shadow passwords are being used, the encrypted password will be found in \fI/etc/shadow\fR\&. The encrypted password consists of characters from the 64 characters alphabet a thru z, A thru Z, 0 thru 9, \\\&. and /\&. Optionally it can start with a "$" character\&. This means the encrypted password was generated using another (not DES) algorithm\&. For example if it starts with "$1$" it means the MD5\-based algorithm was used\&. Refer to \fBcrypt\fR(3) for details on how this string is interpreted\&.
.PP
The comment field is used by various system utilities, such as \fBfinger\fR(1)\&.
.PP
The home directory field provides the name of the initial working directory\&. \fILogin\fR uses this information to set the value of the \fB$HOME\fR environmental variable\&.
.PP
The command interpreter field provides the name of the user's command language interpreter, or the name of the initial program to execute\&. \fILogin\fR uses this information to set the value of the \fB$SHELL\fR environmental variable\&. If this field is empty, it defaults to the value \fI/bin/sh\fR\&.
.SH "FILES"
.TP
\fI/etc/passwd\fR
user account information
.SH "SEE ALSO"
.PP
\fBlogin\fR(1), \fBpasswd\fR(1), \fBsu\fR(1), \fBshadow\fR(5), \fBpwconv\fR(8), \fBpwunconv\fR(8), \fBsulogin\fR(8)
.SH "AUTHOR"
.PP
Julianne Frances Haugh (jockgrrl@ix\&.netcom\&.com)