tizen 2.0
[external/shadow.git] / man / pl / passwd.5
1 '\" t
2 .\"     Title: passwd
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
5 .\"      Date: 07/24/2009
6 .\"    Manual: File Formats and Conversions
7 .\"    Source: File Formats and Conversions
8 .\"  Language: Polish
9 .\"
10 .TH "PASSWD" "5" "07/24/2009" "File Formats and Conversions" "File Formats and Conversions"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAZWA"
22 passwd \- the password file
23 .SH "OPIS"
24 .PP
25
26 /etc/passwd
27 contains one line for each user account, with seven fields delimited by colons (\(Bq:\(rq)\&. These fields are:
28 .sp
29 .RS 4
30 .ie n \{\
31 \h'-04'\(bu\h'+03'\c
32 .\}
33 .el \{\
34 .sp -1
35 .IP \(bu 2.3
36 .\}
37 login name
38 .RE
39 .sp
40 .RS 4
41 .ie n \{\
42 \h'-04'\(bu\h'+03'\c
43 .\}
44 .el \{\
45 .sp -1
46 .IP \(bu 2.3
47 .\}
48 optional encrypted password
49 .RE
50 .sp
51 .RS 4
52 .ie n \{\
53 \h'-04'\(bu\h'+03'\c
54 .\}
55 .el \{\
56 .sp -1
57 .IP \(bu 2.3
58 .\}
59 numerical user ID
60 .RE
61 .sp
62 .RS 4
63 .ie n \{\
64 \h'-04'\(bu\h'+03'\c
65 .\}
66 .el \{\
67 .sp -1
68 .IP \(bu 2.3
69 .\}
70 numerical group ID
71 .RE
72 .sp
73 .RS 4
74 .ie n \{\
75 \h'-04'\(bu\h'+03'\c
76 .\}
77 .el \{\
78 .sp -1
79 .IP \(bu 2.3
80 .\}
81 user name or comment field
82 .RE
83 .sp
84 .RS 4
85 .ie n \{\
86 \h'-04'\(bu\h'+03'\c
87 .\}
88 .el \{\
89 .sp -1
90 .IP \(bu 2.3
91 .\}
92 user home directory
93 .RE
94 .sp
95 .RS 4
96 .ie n \{\
97 \h'-04'\(bu\h'+03'\c
98 .\}
99 .el \{\
100 .sp -1
101 .IP \(bu 2.3
102 .\}
103 optional user command interpreter
104 .RE
105 .PP
106 The encrypted password field may be blank, in which case no password is required to authenticate as the specified login name\&. However, some applications which read the
107 /etc/passwd
108 file may decide not to permit
109 \fIany\fR
110 access at all if the
111 \fIpassword\fR
112 field is blank\&. If the
113 \fIpassword\fR
114 field is a lower\-case
115 \(Bqx\(rq, then the encrypted password is actually stored in the
116 \fBshadow\fR(5)
117 file instead; there
118 \fImust\fR
119 be a corresponding line in the
120 /etc/shadow
121 file, or else the user account is invalid\&. If the
122 \fIpassword\fR
123 field is any other string, then it will be treated as an encrypted password, as specified by
124 \fBcrypt\fR(3)\&.
125 .PP
126 The comment field is used by various system utilities, such as
127 \fBfinger\fR(1)\&.
128 .PP
129 The home directory field provides the name of the initial working directory\&. The
130 \fBlogin\fR
131 program uses this information to set the value of the
132 \fB$HOME\fR
133 environmental variable\&.
134 .PP
135 The command interpreter field provides the name of the user\'s command language interpreter, or the name of the initial program to execute\&. The
136 \fBlogin\fR
137 program uses this information to set the value of the
138 \fB$SHELL\fR
139 environmental variable\&. If this field is empty, it defaults to the value
140 /bin/sh\&.
141 .SH "PLIKI"
142 .PP
143 /etc/passwd
144 .RS 4
145 Informacja o kontach użytkownik\('ow\&.
146 .RE
147 .PP
148 /etc/shadow
149 .RS 4
150 optional encrypted password file
151 .RE
152 .PP
153 /etc/passwd\-
154 .RS 4
155 Backup file for /etc/passwd\&.
156 .sp
157 Note that this file is used by the tools of the shadow toolsuite, but not by all user and password management tools\&.
158 .RE
159 .SH "ZOBACZ TAKŻE"
160 .PP
161
162 \fBcrypt\fR(3),
163 \fBgetent\fR(1),
164 \fBgetpwnam\fR(3),
165 \fBlogin\fR(1),
166 \fBpasswd\fR(1),
167 \fBpwck\fR(8),
168 \fBpwconv\fR(8),
169 \fBpwunconv\fR(8),
170 \fBshadow\fR(5),
171 \fBsu\fR(1),
172 \fBsulogin\fR(8)\&.