.\" This file was generated with po4a. Translate the source file. .\" .\"$Id$ .\" Copyright 1992, Julianne Frances Haugh .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .TH PWCK 8 .SH NOME pwck \- verifica l'integrità dei file delle password .SH SINTASSI \fBpwck\fP [\fB\-sr\fP] [\fIpasswd\fP \fIshadow\fP] .SH DESCRIZIONE \fBgrpck\fP verifica l'integrità delle informazioni di autenticazione del sistema. Ogni voce in \fI/etc/passwd\fP e in \fI/etc/shadow\fP viene controllata per verificare che abbia il formato corretto e dati validi in ciascun campo. Viene richiesto all'utente di rimuovere le voci che non hanno un formato appropriato o che hanno altri errori impossibili da correggere. .P Vengono fatti controlli per verificare che ogni voce abbia: .sp .in +.5i \- il corretto numero di campi .br \- un nome utente univoco .br \- identificatori validi dell'utente e del gruppo .br \- un gruppo primario valido .br \- una home directory valida .br \- una shell di login valida .in -.5i .sp .PP Gli errori nelle verifiche sul corretto numero di campi e sull'univocità del nome utente sono irrimediabili. Se una voce ha un numero errato di campi, all'utente viene chiesto di cancellare l'intera riga; se l'utente 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'utente è invitato a eseguire il comando \fBusermod\fP per correggerli. .PP I comandi che operano sul file \fI/etc/passwd\fP non sono in grado di modificare voci corrotte o duplicate; in tali circostanze va usato \fBpwck\fP per rimuovere la voce scorretta. .SH OPZIONI Come impostazione predefinita, \fBpwck\fP opera sui file \fI/etc/passwd\fP e in \fI/etc/shadow\fP. L'utente può selezionare file alternativi con i parametri \fIpasswd\fP e \fIshadow\fP. Inoltre, il comando può essere eseguito in modalità di sola lettura specificando l'opzione \fB\-r\fP: questo fa in modo che, senza l'intervento dell'utente, venga risposto \fBno\fP a tutte le domande che riguardano i cambiamenti. Con \fBpwck\fP si possono anche ordinare per UID le voci in \fI/etc/passwd\fP e in \fI/etc/shadow\fP, è sufficiente fornire l'opzione \fB\-s\fP. Non viene effettuato nessun controllo, il programma si limita a ordinare i file. .SH FILE \fI/etc/passwd\fP \- informazioni sugli account degli utenti .br \fI/etc/shadow\fP \- informazioni sicure sugli account degli utenti .br \fI/etc/group\fP \- informazioni sugli account dei gruppi .SH "VEDERE ANCHE" \fBgroup\fP(5), \fBpasswd\fP(5), \fBshadow\fP(5), \fBusermod\fP(8) .SH "VALORI RESTITUITI" .TP 2 Il comando \fBpwck\fP restituisce i seguenti valori: \fB0\fP \- successo .br \fB1\fP \- sintassi del comando errata .br \fB2\fP \- una o più voci di password conengono errori .br \fB3\fP \- impossibile aprire i file delle password .br \fB4\fP \- impossibile fare il lock dei file delle password .br \fB5\fP \- impossibile aggiornare i file delle password .SH AUTORE Julianne Frances Haugh (jockgrrl@ix.netcom.com) .SH TRADUZIONE .nf Giuseppe Sacco , 2005 Danilo Piazzalunga , 2005 .fi