3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
6 .\" Manual: Polecenia Zarządzania Systemem
7 .\" Source: Polecenia Zarządzania Systemem
10 .TH "GRPCK" "8" "07/24/2009" "Polecenia Zarządzania Systemem" "Polecenia Zarządzania Systemem"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 grpck \- verify integrity of group files
24 .HP \w'\fBgrpck\fR\ 'u
25 \fBgrpck\fR [\-r] [\fIgroup\fR\ [\ \fIshadow\fR\ ]]
26 .HP \w'\fBgrpck\fR\ 'u
27 \fBgrpck\fR [\-s] [\fIgroup\fR\ [\ \fIshadow\fR\ ]]
32 command verifies the integrity of the groups information\&. It checks that all entries in
35 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\&.
37 Checks are made to verify that each entry has:
47 the correct number of fields
58 a unique and valid group name
69 a valid group identifier
81 a valid list of members
93 a corresponding entry in the
102 The checks for correct number of fields and unique group name are fatal\&. If an 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
104 command to correct the error\&.
106 The commands which operate on the
108 and /etc/gshadow files
109 are not able to alter corrupted or duplicated entries\&.
111 should be used in those circumstances to remove the offending entries\&.
114 The options which apply to the
122 command in read\-only mode\&. This causes all questions regarding changes to be answered
124 without user intervention\&.
138 /etc/groupand /etc/gshadow\&. The user may select alternate files with the
140 and \fIshadow\fR parameters\&.
143 The following configuration variables in
145 change the behavior of this tool:
147 \fBMAX_MEMBERS_PER_GROUP\fR (number)
149 Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
151 (with the same name, same password, and same GID)\&.
153 The default value is 0, meaning that there are no limits in the number of members in a group\&.
155 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\&.
157 If you need to enforce such limit, you can use 25\&.
159 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\&.
165 Informacje o grupach użytkownik\('ow\&.
170 Informacje chronione o grupach użytkownik\('ow\&.
175 Informacja o kontach użytkownik\('ow\&.
177 .SH "KOD ZAKOŃCZENIA"
181 kończy dzia\(/lanie z następującymi wartościami kod\('ow zakończenia:
185 poprawne zakończenie dzia\(/lania programu
190 niepoprawna sk\(/ladnia polecenia
195 one or more bad group entries
200 can\'t open group files
205 can\'t lock group files
210 can\'t update group files