3 .\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
5 .\" Manual: System Management Commands
6 .\" Source: System Management Commands
8 .TH "GRPCK" "8" "06/06/2006" "System Management Commands" "System Management Commands"
9 .\" disable hyphenation
11 .\" disable justification (adjust text to left margin only)
14 grpck \- verify integrity of group files
17 \fBgrpck\fR [\-r] [\fIgroup\fR\ \fIshadow\fR]
22 verifies the integrity of the system authentication information. All entries in the
26 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.
28 Checks are made to verify that each entry has:
31 the correct number of fields
37 a valid list of members and administrators
41 The checks for correct number of fields and unique group name are fatal. If the entry has the wrong number of fields, the user will be prompted to delete the entire line. If the user does not answer affirmatively, all further checks are bypassed. An entry with a duplicated group name is prompted for deletion, but the remaining checks will still be made. All other errors are warnings and the user is encouraged to run the
43 command to correct the error.
45 The commands which operate on the
47 file are not able to alter corrupted or duplicated entries.
49 should be used in those circumstances to remove the offending entry.
57 \fI/etc/gshadow\fR. The user may select alternate files with the
61 parameters. Additionally, the user may execute the command in read\-only mode by specifying the
63 flag. This causes all questions regarding changes to be answered
65 without user intervention.
67 can also sort entries in
71 by GID. To run it in sort mode pass it
73 flag. No checks are performed then, it just sorts.
77 Group account information.
80 Secure group account information.
83 User account information.
95 command exits with the following values:
101 invalid command syntax
104 one or more bad group entries
107 can't open group files
110 can't lock group files
113 can't update group files