~ubuntu-branches/ubuntu/raring/shadow/raring-proposed

« back to all changes in this revision

Viewing changes to man/pl/groupadd.8

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2009-05-05 09:45:21 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090505094521-wpk2wn3q7957tlah
Tags: 1:4.1.3.1-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Ubuntu specific:
    + debian/login.defs: use SHA512 by default for password crypt routine.
  - debian/patches/stdout-encrypted-password.patch: chpasswd can report
    password hashes on stdout (debian bug 505640).
  - debian/login.pam: Enable SELinux support (debian bug 527106).
  - debian/securetty.linux: support Freescale MX-series (debian bug 527095).
* Add debian/patches/300_lastlog_failure: fixed upstream (debian bug 524873).
* Drop debian/patches/593_omit_lastchange_field_if_clock_is_misset: fixed
  upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\"     Title: groupadd
2
2
.\"    Author: 
3
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
4
 
.\"      Date: 04/03/2008
 
4
.\"      Date: 04/15/2009
5
5
.\"    Manual: Polecenia Zarządzania Systemem
6
6
.\"    Source: Polecenia Zarządzania Systemem
7
7
.\"
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
10
10
.nh
11
11
.\" disable justification (adjust text to left margin only)
14
14
groupadd \- twółrz nową grupę
15
15
.SH "SKŁADNIA"
16
16
.HP 9
17
 
\fBgroupadd\fR [\-g\ \fIGID\fR\ [\-o]] [\-f] [\-K\ \fIKLUCZ\fR=\fIWARTOŚĆ\fR] \fIgroup\fR
 
17
\fBgroupadd\fR [\fIopcje\fR\ \fIgroup\fR]
18
18
.SH "OPIS"
19
19
.PP
20
20
The
21
21
\fBgroupadd\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\&.
23
23
.SH "OPCJE"
24
24
.PP
25
25
Polecenie
28
28
.PP
29
29
\fB\-f\fR, \fB\-\-force\fR
30
30
.RS 4
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\&.
33
33
\fB\-g\fR
34
 
is turned off)\.
 
34
is turned off)\&.
35
35
.RE
36
36
.PP
37
37
\fB\-g\fR, \fB\-\-gid\fR\fIGID\fR
38
38
.RS 4
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
40
40
\fB\-o\fR
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\&.
42
42
.RE
43
43
.PP
44
44
\fB\-h\fR, \fB\-\-help\fR
45
45
.RS 4
46
 
Wyświetlenie komunikatu pomocy i zakończenie działania\.
 
46
Wyświetlenie komunikatu pomocy i zakończenie działania\&.
47
47
.RE
48
48
.PP
49
49
\fB\-K\fR, \fB\-\-key\fR\fIKLUCZ\fR=\fIWARTOŚĆ\fR
50
50
.RS 4
51
51
Overrides
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
54
54
\fB\-K\fR
55
 
options can be specified\.
 
55
options can be specified\&.
56
56
.sp
57
57
Example:
58
58
\fB\-K \fR\fIGID_MIN\fR=\fI100\fR
61
61
Note:
62
62
\fB\-K \fR
63
63
\fIGID_MIN\fR=\fI10\fR,\fIGID_MAX\fR=\fI499\fR
64
 
doesn\'t work yet\.
 
64
doesn\'t work yet\&.
65
65
.RE
66
66
.PP
67
67
\fB\-o\fR, \fB\-\-non\-unique\fR
68
68
.RS 4
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\&.
70
70
.RE
71
71
.PP
72
72
\fB\-p\fR, \fB\-\-password\fR\fIHASŁO\fR
73
73
.RS 4
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\&.
 
76
.RE
 
77
.PP
 
78
\fB\-r\fR, \fB\-\-system\fR
 
79
.RS 4
 
80
Create a system group\&.
 
81
.sp
 
82
The numeric identifiers of new system groups are choosen in the
 
83
\fBSYS_GID_MIN\fR\-\fBSYS_GID_MAX\fR
 
84
range, defined in
 
85
\fIlogin\&.defs\fR, instead of
 
86
\fBGID_MIN\fR\-\fBGID_MAX\fR\&.
76
87
.RE
77
88
.SH "CONFIGURATION"
78
89
.PP
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:
82
93
.PP
83
94
\fBGID_MAX\fR (number), \fBGID_MIN\fR (number)
85
96
Range of group IDs used for the creation of regular groups by
86
97
\fBuseradd\fR,
87
98
\fBuseradd\fR, or
88
 
\fBnewusers\fR\.
 
99
\fBnewusers\fR\&.
89
100
.RE
90
101
.PP
91
102
\fBMAX_MEMBERS_PER_GROUP\fR (number)
92
103
.RS 4
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
94
105
\fI/etc/group\fR
95
 
(with the same name, same password, and same GID)\.
96
 
.sp
97
 
The default value is 0, meaning that there are no limits in the number of members in a group\.
98
 
.sp
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\.
100
 
.sp
101
 
If you need to enforce such limit, you can use 25\.
102
 
.sp
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)\&.
 
107
.sp
 
108
The default value is 0, meaning that there are no limits in the number of members in a group\&.
 
109
.sp
 
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\&.
 
111
.sp
 
112
If you need to enforce such limit, you can use 25\&.
 
113
.sp
 
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\&.
104
115
.RE
105
116
.PP
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
109
120
\fBuseradd\fR,
110
121
\fBgroupadd\fR, or
111
 
\fBnewusers\fR\.
 
122
\fBnewusers\fR\&.
112
123
.RE
113
124
.SH "PLIKI"
114
125
.PP
115
126
\fI/etc/group\fR
116
127
.RS 4
117
 
Informacje o grupach użytkowników\.
 
128
Informacje o grupach użytkowników\&.
118
129
.RE
119
130
.PP
120
131
\fI/etc/gshadow\fR
121
132
.RS 4
122
 
Informacje chronione o grupach użytkowników\.
 
133
Informacje chronione o grupach użytkowników\&.
123
134
.RE
124
135
.PP
125
 
\fI/etc/login\.defs\fR
 
136
\fI/etc/login\&.defs\fR
126
137
.RS 4
127
 
Konfiguracja pakietu shadow\.
 
138
Konfiguracja pakietu shadow\&.
128
139
.RE
129
140
.SH "OSTRZEŻENIA"
130
141
.PP
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_\-]*[$]
132
 
.PP
133
 
Groupnames may only be up to 16 characters long\.
134
 
.PP
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_\-]*[$]?
 
143
.PP
 
144
Groupnames may only be up to 16 characters long\&.
 
145
.PP
 
146
You may not add a NIS or LDAP group\&. This must be performed on the corresponding server\&.
136
147
.PP
137
148
If the groupname already exists in an external group database such as NIS or LDAP,
138
149
\fBgroupadd\fR
139
 
will deny the group creation request\.
 
150
will deny the group creation request\&.
140
151
.SH "KOD ZAKOŃCZENIA"
141
152
.PP
142
153
Polecenie
185
196
\fBlogin.defs\fR(5),
186
197
\fBuseradd\fR(8),
187
198
\fBuserdel\fR(8),
188
 
\fBusermod\fR(8)\.
 
199
\fBusermod\fR(8)\&.