tizen 2.0
[external/shadow.git] / man / pl / groupadd.8
1 '\" t
2 .\"     Title: groupadd
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 "GROUPADD" "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 groupadd \- tw\('o\(/lrz nową grupę
23 .SH "SK\(/LADNIA"
24 .HP \w'\fBgroupadd\fR\ 'u
25 \fBgroupadd\fR [\fIopcje\fR] \fIgroup\fR
26 .SH "OPIS"
27 .PP
28 The
29 \fBgroupadd\fR
30 command creates a new group account using the values specified on the command line plus the default values from the system\&. The new group will be entered into the system files as needed\&.
31 .SH "OPCJE"
32 .PP
33 Polecenie
34 \fBgroupadd\fR
35 posiada następujące opcje:
36 .PP
37 \fB\-f\fR, \fB\-\-force\fR
38 .RS 4
39 This option causes the command to simply exit with success status if the specified group already exists\&. When used with
40 \fB\-g\fR, and the specified GID already exists, another (unique) GID is chosen (i\&.e\&.
41 \fB\-g\fR
42 is turned off)\&.
43 .RE
44 .PP
45 \fB\-g\fR, \fB\-\-gid\fR\fIGID\fR
46 .RS 4
47 The numerical value of the group\'s ID\&. This value must be unique, unless the
48 \fB\-o\fR
49 option is used\&. The value must be non\-negative\&. The default is to use the smallest ID value greater than 999 and greater than every other group\&. Values between 0 and 999 are typically reserved for system accounts\&.
50 .RE
51 .PP
52 \fB\-h\fR, \fB\-\-help\fR
53 .RS 4
54 Wyświetlenie komunikatu pomocy i zakończenie dzia\(/lania\&.
55 .RE
56 .PP
57 \fB\-K\fR, \fB\-\-key\fR\fIKLUCZ\fR=\fIWARTOŚĆ\fR
58 .RS 4
59 Overrides
60 /etc/login\&.defs
61 defaults (GID_MIN, GID_MAX and others)\&. Multiple
62 \fB\-K\fR
63 options can be specified\&.
64 .sp
65 Example:
66 \fB\-K \fR\fIGID_MIN\fR=\fI100\fR
67 \fB\-K \fR\fIGID_MAX\fR=\fI499\fR
68 .sp
69 Note:
70 \fB\-K \fR
71 \fIGID_MIN\fR=\fI10\fR,\fIGID_MAX\fR=\fI499\fR
72 doesn\'t work yet\&.
73 .RE
74 .PP
75 \fB\-o\fR, \fB\-\-non\-unique\fR
76 .RS 4
77 This option permits to add a group with a non\-unique GID\&.
78 .RE
79 .PP
80 \fB\-p\fR, \fB\-\-password\fR\fIHAS\(/LO\fR
81 .RS 4
82 The encrypted password, as returned by
83 \fBcrypt\fR(3)\&. The default is to disable the password\&.
84 .sp
85
86 \fBNote:\fR
87 This option is not recommended because the password (or encrypted password) will be visible by users listing the processes\&.
88 .sp
89 You should make sure the password respects the system\'s password policy\&.
90 .RE
91 .PP
92 \fB\-r\fR, \fB\-\-system\fR
93 .RS 4
94 Create a system group\&.
95 .sp
96 The numeric identifiers of new system groups are choosen in the
97 \fBSYS_GID_MIN\fR\-\fBSYS_GID_MAX\fR
98 range, defined in
99 login\&.defs, instead of
100 \fBGID_MIN\fR\-\fBGID_MAX\fR\&.
101 .RE
102 .SH "CONFIGURATION"
103 .PP
104 The following configuration variables in
105 /etc/login\&.defs
106 change the behavior of this tool:
107 .PP
108 \fBGID_MAX\fR (number), \fBGID_MIN\fR (number)
109 .RS 4
110 Range of group IDs used for the creation of regular groups by
111 \fBuseradd\fR,
112 \fBgroupadd\fR, or
113 \fBnewusers\fR\&.
114 .RE
115 .PP
116 \fBMAX_MEMBERS_PER_GROUP\fR (number)
117 .RS 4
118 Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
119 /etc/group
120 (with the same name, same password, and same GID)\&.
121 .sp
122 The default value is 0, meaning that there are no limits in the number of members in a group\&.
123 .sp
124 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\&.
125 .sp
126 If you need to enforce such limit, you can use 25\&.
127 .sp
128 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\&.
129 .RE
130 .PP
131 \fBSYS_GID_MAX\fR (number), \fBSYS_GID_MIN\fR (number)
132 .RS 4
133 Range of group IDs used for the creation of system groups by
134 \fBuseradd\fR,
135 \fBgroupadd\fR, or
136 \fBnewusers\fR\&.
137 .RE
138 .SH "PLIKI"
139 .PP
140 /etc/group
141 .RS 4
142 Informacje o grupach użytkownik\('ow\&.
143 .RE
144 .PP
145 /etc/gshadow
146 .RS 4
147 Informacje chronione o grupach użytkownik\('ow\&.
148 .RE
149 .PP
150 /etc/login\&.defs
151 .RS 4
152 Konfiguracja pakietu shadow\&.
153 .RE
154 .SH "OSTRZEŻENIA"
155 .PP
156 Groupnames must start with a lower case letter or an underscore, followed by lower case letters, digits, underscores, or dashes\&. They can end with a dollar sign\&. In regular expression terms: [a\-z_][a\-z0\-9_\-]*[$]?
157 .PP
158 Groupnames may only be up to 16 characters long\&.
159 .PP
160 You may not add a NIS or LDAP group\&. This must be performed on the corresponding server\&.
161 .PP
162 If the groupname already exists in an external group database such as NIS or LDAP,
163 \fBgroupadd\fR
164 will deny the group creation request\&.
165 .SH "KOD ZAKOŃCZENIA"
166 .PP
167 Polecenie
168 \fBgroupadd\fR
169 kończy dzia\(/lanie z następującymi wartościami kod\('ow zakończenia:
170 .PP
171 \fI0\fR
172 .RS 4
173 poprawne zakończenie dzia\(/lania programu
174 .RE
175 .PP
176 \fI2\fR
177 .RS 4
178 niepoprawna sk\(/ladnia polecenia
179 .RE
180 .PP
181 \fI3\fR
182 .RS 4
183 nieprawid\(/lowy argument opcji
184 .RE
185 .PP
186 \fI4\fR
187 .RS 4
188 GID not unique (when
189 \fB\-o\fR
190 not used)
191 .RE
192 .PP
193 \fI9\fR
194 .RS 4
195 group name not unique
196 .RE
197 .PP
198 \fI10\fR
199 .RS 4
200 nie można zaktualizować pliku z grupami
201 .RE
202 .SH "ZOBACZ TAKŻE"
203 .PP
204 \fBchfn\fR(1),
205 \fBchsh\fR(1),
206 \fBpasswd\fR(1),
207 \fBgpasswd\fR(8),
208 \fBgroupdel\fR(8),
209 \fBgroupmod\fR(8),
210 \fBlogin.defs\fR(5),
211 \fBuseradd\fR(8),
212 \fBuserdel\fR(8),
213 \fBusermod\fR(8)\&.