Provided by:
passwd_4.1.1-1ubuntu1_i386 
NOME
grpck - verifica l’integrità dei file di gruppo
SINOSSI
grpck [-r] [group [ shadow ]]
grpck [-s] [group [ shadow ]]
DESCRIZIONE
The grpck command verifies the integrity of the system authentication
information. All entries in /etc/group and /etc/gshadow are checked to
see that the entry has the proper format and valid data in each field.
The user is prompted to delete entries that are improperly formatted or
which have other uncorrectable errors.
Vengono fatti controlli per verificare che ogni voce abbia:
· il corretto numero di campi
· un nome univoco di gruppo
· a valid list of members and administrators
Gli errori nelle verifiche sul corretto numero di campi e
sull´univocità del nome del gruppo 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 del gruppo duplicato, ma i rimanenti
controlli vengono ugualmente effettuati. Tutti gli altri errori non
sono gravi e l´utente è invitato a eseguire il comando groupmod per
correggerli.
I comandi che operano sul file /etc/group non sono in grado di
modificare voci corrotte o duplicate; in tali circostanze va usato
grpck per rimuovere la voce scorretta.
OPZIONI
The options which apply to the grpck command are:
-r
Execute the grpck command in read-only mode. This causes all
questions regarding changes to be answered no without user
intervention.
-s
Sort entries in /etc/group and /etc/gshadow by GID.
By default, grpck operates on /etc/groupand /etc/gshadow. The user may
select alternate files with the group and shadow parameters.
CONFIGURATION
The following configuration variables in /etc/login.defs change the
behavior of this tool:
MAX_MEMBERS_PER_GROUP (number)
Maximum members per group entry. When the maximum is reached, a new
group entry (line) is started in /etc/group (with the same name,
same password, and same GID).
The default value is 0, meaning that there are no limits in the
number of members in a group.
This feature (split group) permits to limit the length of lines in
the group file. This is useful to make sure that lines for NIS
groups are not larger than 1024 characters.
If you need to enforce such limit, you can use 25.
Note: split groups may not be supported by all tools (even in the
Shadow toolsuite. You should not use this variable unless you
really need it.
FILE
/etc/group
Informazioni sugli account di gruppo.
/etc/gshadow
Informazioni sicure sugli account di gruppo.
/etc/passwd
informazioni sugli account utente.
VEDERE ANCHE
group(5), gshadow(5) passwd(5), shadow(5), groupmod(8).
VALORI RESTITUITI
The grpck command exits with the following values:
0
successo
1
sintassi del comando errata
2
una o più voci di gruppo contengono errori
3
impossibile aprire i file dei gruppi
4
impossibile fare il lock dei file dei gruppi
5
impossibile aggiornare i file dei gruppi