3
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
5
5
.\" Manual: Polecenia Zarządzania Systemem
6
6
.\" Source: Polecenia Zarządzania Systemem
8
.TH "GROUPADD" "8" "04/03/2008" "Polecenia Zarządzania Systemem" "Polecenia Zarządzania Systemem"
8
.TH "GROUPADD" "8" "04/15/2009" "Polecenia Zarządzania Systemem" "Polecenia Zarządzania Systemem"
9
9
.\" disable hyphenation
11
11
.\" disable justification (adjust text to left margin only)
14
14
groupadd \- twółrz nową grupę
17
\fBgroupadd\fR [\-g\ \fIGID\fR\ [\-o]] [\-f] [\-K\ \fIKLUCZ\fR=\fIWARTOŚĆ\fR] \fIgroup\fR
17
\fBgroupadd\fR [\fIopcje\fR\ \fIgroup\fR]
22
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\.
22
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\&.
29
29
\fB\-f\fR, \fB\-\-force\fR
31
This option causes the command to simply exit with success status if the specified group already exists\. When used with
32
\fB\-g\fR, and the specified GID already exists, another (unique) GID is chosen (i\.e\.
31
This option causes the command to simply exit with success status if the specified group already exists\&. When used with
32
\fB\-g\fR, and the specified GID already exists, another (unique) GID is chosen (i\&.e\&.
37
37
\fB\-g\fR, \fB\-\-gid\fR\fIGID\fR
39
The numerical value of the group\'s ID\. This value must be unique, unless the
39
The numerical value of the group\'s ID\&. This value must be unique, unless the
41
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\.
41
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\&.
44
44
\fB\-h\fR, \fB\-\-help\fR
46
Wyświetlenie komunikatu pomocy i zakończenie działania\.
46
Wyświetlenie komunikatu pomocy i zakończenie działania\&.
49
49
\fB\-K\fR, \fB\-\-key\fR\fIKLUCZ\fR=\fIWARTOŚĆ\fR
52
\fI/etc/login\.defs\fR
53
defaults (GID_MIN, GID_MAX and others)\. Multiple
52
\fI/etc/login\&.defs\fR
53
defaults (GID_MIN, GID_MAX and others)\&. Multiple
55
options can be specified\.
55
options can be specified\&.
58
58
\fB\-K \fR\fIGID_MIN\fR=\fI100\fR
63
63
\fIGID_MIN\fR=\fI10\fR,\fIGID_MAX\fR=\fI499\fR
67
67
\fB\-o\fR, \fB\-\-non\-unique\fR
69
This option permits to add a group with a non\-unique GID\.
69
This option permits to add a group with a non\-unique GID\&.
72
72
\fB\-p\fR, \fB\-\-password\fR\fIHASŁO\fR
74
74
The encrypted password, as returned by
75
\fBcrypt\fR(3)\. The default is to disable the password\.
75
\fBcrypt\fR(3)\&. The default is to disable the password\&.
78
\fB\-r\fR, \fB\-\-system\fR
80
Create a system group\&.
82
The numeric identifiers of new system groups are choosen in the
83
\fBSYS_GID_MIN\fR\-\fBSYS_GID_MAX\fR
85
\fIlogin\&.defs\fR, instead of
86
\fBGID_MIN\fR\-\fBGID_MAX\fR\&.
77
88
.SH "CONFIGURATION"
79
90
The following configuration variables in
80
\fI/etc/login\.defs\fR
91
\fI/etc/login\&.defs\fR
81
92
change the behavior of this tool:
83
94
\fBGID_MAX\fR (number), \fBGID_MIN\fR (number)
85
96
Range of group IDs used for the creation of regular groups by
91
102
\fBMAX_MEMBERS_PER_GROUP\fR (number)
93
Maximum members per group entry\. When the maximum is reached, a new group entry (line) is started in
104
Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
95
(with the same name, same password, and same GID)\.
97
The default value is 0, meaning that there are no limits in the number of members in a group\.
99
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\.
101
If you need to enforce such limit, you can use 25\.
103
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\.
106
(with the same name, same password, and same GID)\&.
108
The default value is 0, meaning that there are no limits in the number of members in a group\&.
110
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\&.
112
If you need to enforce such limit, you can use 25\&.
114
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\&.
106
117
\fBSYS_GID_MAX\fR (number), \fBSYS_GID_MIN\fR (number)
108
119
Range of group IDs used for the creation of system groups by
110
121
\fBgroupadd\fR, or
117
Informacje o grupach użytkowników\.
128
Informacje o grupach użytkowników\&.
120
131
\fI/etc/gshadow\fR
122
Informacje chronione o grupach użytkowników\.
133
Informacje chronione o grupach użytkowników\&.
125
\fI/etc/login\.defs\fR
136
\fI/etc/login\&.defs\fR
127
Konfiguracja pakietu shadow\.
138
Konfiguracja pakietu shadow\&.
129
140
.SH "OSTRZEŻENIA"
131
Groupnames must begin with a lower case letter or an underscore, and only lower case letters, underscores, dashes, and dollar signs may follow\. In regular expression terms: [a\-z_][a\-z0\-9_\-]*[$]
133
Groupnames may only be up to 16 characters long\.
135
You may not add a NIS or LDAP group\. This must be performed on the corresponding server\.
142
Groupnames must begin with a lower case letter or an underscore, and only lower case letters, underscores, dashes, and dollar signs may follow\&. In regular expression terms: [a\-z_][a\-z0\-9_\-]*[$]?
144
Groupnames may only be up to 16 characters long\&.
146
You may not add a NIS or LDAP group\&. This must be performed on the corresponding server\&.
137
148
If the groupname already exists in an external group database such as NIS or LDAP,
139
will deny the group creation request\.
150
will deny the group creation request\&.
140
151
.SH "KOD ZAKOŃCZENIA"