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