tizen 2.0
[external/shadow.git] / man / pl / grpck.8
1 '\" t
2 .\"     Title: grpck
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
5 .\"      Date: 07/24/2009
6 .\"    Manual: Polecenia Zarządzania Systemem
7 .\"    Source: Polecenia Zarządzania Systemem
8 .\"  Language: Polish
9 .\"
10 .TH "GRPCK" "8" "07/24/2009" "Polecenia Zarządzania Systemem" "Polecenia Zarządzania Systemem"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAZWA"
22 grpck \- verify integrity of group files
23 .SH "SK\(/LADNIA"
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\ ]]
28 .SH "OPIS"
29 .PP
30 The
31 \fBgrpck\fR
32 command verifies the integrity of the groups information\&. It checks that all entries in
33 /etc/group
34 and /etc/gshadow
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\&.
36 .PP
37 Checks are made to verify that each entry has:
38 .sp
39 .RS 4
40 .ie n \{\
41 \h'-04'\(bu\h'+03'\c
42 .\}
43 .el \{\
44 .sp -1
45 .IP \(bu 2.3
46 .\}
47 the correct number of fields
48 .RE
49 .sp
50 .RS 4
51 .ie n \{\
52 \h'-04'\(bu\h'+03'\c
53 .\}
54 .el \{\
55 .sp -1
56 .IP \(bu 2.3
57 .\}
58 a unique and valid group name
59 .RE
60 .sp
61 .RS 4
62 .ie n \{\
63 \h'-04'\(bu\h'+03'\c
64 .\}
65 .el \{\
66 .sp -1
67 .IP \(bu 2.3
68 .\}
69 a valid group identifier
70 (/etc/group only)
71 .RE
72 .sp
73 .RS 4
74 .ie n \{\
75 \h'-04'\(bu\h'+03'\c
76 .\}
77 .el \{\
78 .sp -1
79 .IP \(bu 2.3
80 .\}
81 a valid list of members
82 and administrators
83 .RE
84 .sp
85 .RS 4
86 .ie n \{\
87 \h'-04'\(bu\h'+03'\c
88 .\}
89 .el \{\
90 .sp -1
91 .IP \(bu 2.3
92 .\}
93 a corresponding entry in the
94 /etc/gshadow
95 file (respectively
96 /etc/group
97 for the
98 gshadow
99 checks)
100 .RE
101 .PP
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
103 \fBgroupmod\fR
104 command to correct the error\&.
105 .PP
106 The commands which operate on the
107 /etc/group
108 and /etc/gshadow files
109 are not able to alter corrupted or duplicated entries\&.
110 \fBgrpck\fR
111 should be used in those circumstances to remove the offending entries\&.
112 .SH "OPCJE"
113 .PP
114 The options which apply to the
115 \fBgrpck\fR
116 command are:
117 .PP
118 \fB\-r\fR
119 .RS 4
120 Execute the
121 \fBgrpck\fR
122 command in read\-only mode\&. This causes all questions regarding changes to be answered
123 \fIno\fR
124 without user intervention\&.
125 .RE
126 .PP
127 \fB\-s\fR
128 .RS 4
129 Sort entries in
130 /etc/group
131 and /etc/gshadow
132 by GID\&.
133 .RE
134 .PP
135 By default,
136 \fBgrpck\fR
137 operates on
138 /etc/groupand /etc/gshadow\&. The user may select alternate files with the
139 \fIgroup\fR
140 and \fIshadow\fR parameters\&.
141 .SH "CONFIGURATION"
142 .PP
143 The following configuration variables in
144 /etc/login\&.defs
145 change the behavior of this tool:
146 .PP
147 \fBMAX_MEMBERS_PER_GROUP\fR (number)
148 .RS 4
149 Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
150 /etc/group
151 (with the same name, same password, and same GID)\&.
152 .sp
153 The default value is 0, meaning that there are no limits in the number of members in a group\&.
154 .sp
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\&.
156 .sp
157 If you need to enforce such limit, you can use 25\&.
158 .sp
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\&.
160 .RE
161 .SH "PLIKI"
162 .PP
163 /etc/group
164 .RS 4
165 Informacje o grupach użytkownik\('ow\&.
166 .RE
167 .PP
168 /etc/gshadow
169 .RS 4
170 Informacje chronione o grupach użytkownik\('ow\&.
171 .RE
172 .PP
173 /etc/passwd
174 .RS 4
175 Informacja o kontach użytkownik\('ow\&.
176 .RE
177 .SH "KOD ZAKOŃCZENIA"
178 .PP
179 Polecenie
180 \fBgrpckl\fR
181 kończy dzia\(/lanie z następującymi wartościami kod\('ow zakończenia:
182 .PP
183 \fI0\fR
184 .RS 4
185 poprawne zakończenie dzia\(/lania programu
186 .RE
187 .PP
188 \fI1\fR
189 .RS 4
190 niepoprawna sk\(/ladnia polecenia
191 .RE
192 .PP
193 \fI2\fR
194 .RS 4
195 one or more bad group entries
196 .RE
197 .PP
198 \fI3\fR
199 .RS 4
200 can\'t open group files
201 .RE
202 .PP
203 \fI4\fR
204 .RS 4
205 can\'t lock group files
206 .RE
207 .PP
208 \fI5\fR
209 .RS 4
210 can\'t update group files
211 .RE
212 .SH "ZOBACZ TAKŻE"
213 .PP
214
215 \fBgroup\fR(5),
216 \fBgroupmod\fR(8),
217 \fBgshadow\fR(5),
218 \fBpasswd\fR(5),
219 \fBpwck\fR(8),
220 \fBshadow\fR(5)\&.