Initial commit for Tizen
[profile/extras/shadow-utils.git] / man / it / pwck.8
1 '\" t
2 .\"     Title: pwck
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5 .\"      Date: 16/02/2011
6 .\"    Manual: System Management Commands
7 .\"    Source: System Management Commands
8 .\"  Language: Italian
9 .\"
10 .TH "PWCK" "8" "16/02/2011" "System Management Commands" "System Management Commands"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NOME"
31 pwck \- verify integrity of password files
32 .SH "SINOSSI"
33 .HP \w'\fBpwck\fR\ 'u
34 \fBpwck\fR [\-q] [\-s] [\fIpasswd\fR\ [\ \fIshadow\fR\ ]]
35 .HP \w'\fBpwck\fR\ 'u
36 \fBpwck\fR [\-q] [\-r] [\fIpasswd\fR\ [\ \fIshadow\fR\ ]]
37 .SH "DESCRIZIONE"
38 .PP
39 The
40 \fBpwck\fR
41 command verifies the integrity of the users and authentication information\&. It checks that all entries in
42 /etc/passwd
43 and
44 /etc/shadow
45 have the proper format and contain valid data\&. The user is prompted to delete entries that are improperly formatted or which have other uncorrectable errors\&.
46 .PP
47 Vengono fatti controlli per verificare che ogni voce abbia:
48 .sp
49 .RS 4
50 .ie n \{\
51 \h'-04'\(bu\h'+03'\c
52 .\}
53 .el \{\
54 .sp -1
55 .IP \(bu 2.3
56 .\}
57 il corretto numero di campi
58 .RE
59 .sp
60 .RS 4
61 .ie n \{\
62 \h'-04'\(bu\h'+03'\c
63 .\}
64 .el \{\
65 .sp -1
66 .IP \(bu 2.3
67 .\}
68 a unique and valid user name
69 .RE
70 .sp
71 .RS 4
72 .ie n \{\
73 \h'-04'\(bu\h'+03'\c
74 .\}
75 .el \{\
76 .sp -1
77 .IP \(bu 2.3
78 .\}
79 identificatori validi dell\*(Aqutente e del gruppo
80 .RE
81 .sp
82 .RS 4
83 .ie n \{\
84 \h'-04'\(bu\h'+03'\c
85 .\}
86 .el \{\
87 .sp -1
88 .IP \(bu 2.3
89 .\}
90 un gruppo primario valido
91 .RE
92 .sp
93 .RS 4
94 .ie n \{\
95 \h'-04'\(bu\h'+03'\c
96 .\}
97 .el \{\
98 .sp -1
99 .IP \(bu 2.3
100 .\}
101 una home directory valida
102 .RE
103 .sp
104 .RS 4
105 .ie n \{\
106 \h'-04'\(bu\h'+03'\c
107 .\}
108 .el \{\
109 .sp -1
110 .IP \(bu 2.3
111 .\}
112 una shell di login valida
113 .RE
114 .PP
115
116 shadow
117 checks are enabled when a second file parameter is specified or when
118 /etc/shadow
119 exists on the system\&.
120 .PP
121 These checks are the following:
122 .sp
123 .RS 4
124 .ie n \{\
125 \h'-04'\(bu\h'+03'\c
126 .\}
127 .el \{\
128 .sp -1
129 .IP \(bu 2.3
130 .\}
131 every passwd entry has a matching shadow entry, and every shadow entry has a matching passwd entry
132 .RE
133 .sp
134 .RS 4
135 .ie n \{\
136 \h'-04'\(bu\h'+03'\c
137 .\}
138 .el \{\
139 .sp -1
140 .IP \(bu 2.3
141 .\}
142 passwords are specified in the shadowed file
143 .RE
144 .sp
145 .RS 4
146 .ie n \{\
147 \h'-04'\(bu\h'+03'\c
148 .\}
149 .el \{\
150 .sp -1
151 .IP \(bu 2.3
152 .\}
153 shadow entries have the correct number of fields
154 .RE
155 .sp
156 .RS 4
157 .ie n \{\
158 \h'-04'\(bu\h'+03'\c
159 .\}
160 .el \{\
161 .sp -1
162 .IP \(bu 2.3
163 .\}
164 shadow entries are unique in shadow
165 .RE
166 .sp
167 .RS 4
168 .ie n \{\
169 \h'-04'\(bu\h'+03'\c
170 .\}
171 .el \{\
172 .sp -1
173 .IP \(bu 2.3
174 .\}
175 the last password changes are not in the future
176 .RE
177 .PP
178 Gli errori nelle verifiche sul corretto numero di campi e sull\*(Aqunivocit\(`a del nome utente sono irrimediabili\&. Se una voce ha un numero errato di campi, all\*(Aqutente viene chiesto di cancellare l\*(Aqintera riga; se l\*(Aqutente non risponde affermativamente, vengono omessi tutti gli ulteriori controlli\&. Viene richiesta la cancellazione anche per le voci aventi il nome utente duplicato, ma i rimanenti controlli vengono ugualmente effettuati\&. Tutti gli altri errori non sono gravi e l\*(Aqutente \(`e invitato a eseguire il comando
179 \fBusermod\fR
180 per correggerli\&.
181 .PP
182 I comandi che operano sul file
183 /etc/passwd
184 non sono in grado di modificare voci corrotte o duplicate; in tali circostanze va usato
185 \fBpwck\fR
186 per rimuovere la voce scorretta\&.
187 .SH "OPZIONI"
188 .PP
189 Il comando
190 \fBpwck\fR
191 accetta le seguenti opzioni:
192 .PP
193 \fB\-q\fR
194 .RS 4
195 Report errors only\&. The warnings which do not require any action from the user won\*(Aqt be displayed\&.
196 .RE
197 .PP
198 \fB\-r\fR
199 .RS 4
200 Execute the
201 \fBpwck\fR
202 command in read\-only mode\&.
203 .RE
204 .PP
205 \fB\-s\fR
206 .RS 4
207 Sort entries in
208 /etc/passwd
209 and
210 /etc/shadow
211 by UID\&.
212 .RE
213 .PP
214 Come impostazione predefinita,
215 \fBpwck\fR
216 opera sui file
217 /etc/passwd
218 e in
219 /etc/shadow\&. L\*(Aqutente pu\(`o selezionare file alternativi con i parametri
220 \fIpasswd\fR
221 e
222 \fIshadow\fR\&.
223 .SH "CONFIGURATION"
224 .PP
225 The following configuration variables in
226 /etc/login\&.defs
227 change the behavior of this tool:
228 .PP
229 \fBPASS_MAX_DAYS\fR (number)
230 .RS 4
231 The maximum number of days a password may be used\&. If the password is older than this, a password change will be forced\&. If not specified, \-1 will be assumed (which disables the restriction)\&.
232 .RE
233 .PP
234 \fBPASS_MIN_DAYS\fR (number)
235 .RS 4
236 The minimum number of days allowed between password changes\&. Any password changes attempted sooner than this will be rejected\&. If not specified, \-1 will be assumed (which disables the restriction)\&.
237 .RE
238 .PP
239 \fBPASS_WARN_AGE\fR (number)
240 .RS 4
241 The number of days warning given before a password expires\&. A zero means warning is given only upon the day of expiration, a negative value means no warning is given\&. If not specified, no warning will be provided\&.
242 .RE
243 .SH "FILE"
244 .PP
245 /etc/group
246 .RS 4
247 Informazioni sugli account di gruppo\&.
248 .RE
249 .PP
250 /etc/passwd
251 .RS 4
252 informazioni sugli account utente\&.
253 .RE
254 .PP
255 /etc/shadow
256 .RS 4
257 Informazioni sicure sugli account di utenti\&.
258 .RE
259 .SH "VALORI RESTITUITI"
260 .PP
261 Il comando
262 \fBpwck\fR
263 restituisce i seguenti valori:
264 .PP
265 \fI0\fR
266 .RS 4
267 successo
268 .RE
269 .PP
270 \fI1\fR
271 .RS 4
272 sintassi del comando errata
273 .RE
274 .PP
275 \fI2\fR
276 .RS 4
277 una o pi\(`u voci di password conengono errori
278 .RE
279 .PP
280 \fI3\fR
281 .RS 4
282 impossibile aprire i file delle password
283 .RE
284 .PP
285 \fI4\fR
286 .RS 4
287 impossibile fare il lock dei file delle password
288 .RE
289 .PP
290 \fI5\fR
291 .RS 4
292 impossibile aggiornare i file delle password
293 .RE
294 .PP
295 \fI6\fR
296 .RS 4
297 can\*(Aqt sort password files
298 .RE
299 .SH "VEDERE ANCHE"
300 .PP
301
302 \fBgroup\fR(5),
303 \fBgrpck\fR(8),
304 \fBpasswd\fR(5),
305 \fBshadow\fR(5),
306 \fBusermod\fR(8)\&.