3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: System Management Commands
7 .\" Source: System Management Commands
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 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 pwck \- verify integrity of password files
34 \fBpwck\fR [\-q] [\-s] [\fIpasswd\fR\ [\ \fIshadow\fR\ ]]
36 \fBpwck\fR [\-q] [\-r] [\fIpasswd\fR\ [\ \fIshadow\fR\ ]]
41 command verifies the integrity of the users and authentication information\&. It checks that all entries in
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\&.
47 Vengono fatti controlli per verificare che ogni voce abbia:
57 il corretto numero di campi
68 a unique and valid user name
79 identificatori validi dell\*(Aqutente e del gruppo
90 un gruppo primario valido
101 una home directory valida
112 una shell di login valida
117 checks are enabled when a second file parameter is specified or when
119 exists on the system\&.
121 These checks are the following:
131 every passwd entry has a matching shadow entry, and every shadow entry has a matching passwd entry
142 passwords are specified in the shadowed file
153 shadow entries have the correct number of fields
164 shadow entries are unique in shadow
175 the last password changes are not in the future
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
182 I comandi che operano sul file
184 non sono in grado di modificare voci corrotte o duplicate; in tali circostanze va usato
186 per rimuovere la voce scorretta\&.
191 accetta le seguenti opzioni:
195 Report errors only\&. The warnings which do not require any action from the user won\*(Aqt be displayed\&.
202 command in read\-only mode\&.
214 Come impostazione predefinita,
219 /etc/shadow\&. L\*(Aqutente pu\(`o selezionare file alternativi con i parametri
225 The following configuration variables in
227 change the behavior of this tool:
229 \fBPASS_MAX_DAYS\fR (number)
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)\&.
234 \fBPASS_MIN_DAYS\fR (number)
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)\&.
239 \fBPASS_WARN_AGE\fR (number)
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\&.
247 Informazioni sugli account di gruppo\&.
252 informazioni sugli account utente\&.
257 Informazioni sicure sugli account di utenti\&.
259 .SH "VALORI RESTITUITI"
263 restituisce i seguenti valori:
272 sintassi del comando errata
277 una o pi\(`u voci di password conengono errori
282 impossibile aprire i file delle password
287 impossibile fare il lock dei file delle password
292 impossibile aggiornare i file delle password
297 can\*(Aqt sort password files