3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
6 .\" Manual: Polecenia Zarządzania Systemem
7 .\" Source: Polecenia Zarządzania Systemem
10 .TH "GROUPMEMS" "8" "07/24/2009" "Polecenia Zarządzania Systemem" "Polecenia Zarządzania Systemem"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 groupmems \- administer members of a user\'s primary group
24 .HP \w'\fBgroupmems\fR\ 'u
25 \fBgroupmems\fR \-a\ \fIuser_name\fR | \-d\ \fIuser_name\fR | [\-g\ \fIgroup_name\fR] | \-l | \-p
30 command allows a user to administer his/her own group membership list without the requirement of superuser privileges\&. The
32 utility is for systems that configure its users to be in their own name sake primary group (i\&.e\&., guest / guest)\&.
34 Only the superuser, as administrator, can use
36 to alter the memberships of other groups\&.
41 posiada następujące opcje:
43 \fB\-a\fR, \fB\-\-add\fR \fIuser_name\fR
45 Add an user to the group membership list\&.
49 file exist, and the group has no entry in the
51 file, a new entry will be created\&.
54 \fB\-d\fR, \fB\-\-delete\fR \fIuser_name\fR
56 Delete a user from the group membership list\&.
60 file exist, the user will be removed from the list of members and administrators of the group\&.
64 file exist, and the group has no entry in the
66 file, a new entry will be created\&.
69 \fB\-g\fR, \fB\-\-group\fR \fIgroup_name\fR
71 The superuser can specify which group membership list to modify\&.
74 \fB\-l\fR, \fB\-\-list\fR
76 List the group membership list\&.
79 \fB\-p\fR, \fB\-\-purge\fR
81 Purge all users from the group membership list\&.
85 file exist, and the group has no entry in the
87 file, a new entry will be created\&.
93 executable should be in mode
98 \fIgroups\fR\&. The system administrator can add users to group
100 to allow or disallow them using the
102 utility to manage their own group membership list\&.
108 $ groupadd \-r groups
109 $ chmod 2770 groupmems
110 $ chown root\&.groups groupmems
111 $ groupmems \-g groups \-a gk4
119 The following configuration variables in
121 change the behavior of this tool:
123 \fBMAX_MEMBERS_PER_GROUP\fR (number)
125 Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
127 (with the same name, same password, and same GID)\&.
129 The default value is 0, meaning that there are no limits in the number of members in a group\&.
131 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\&.
133 If you need to enforce such limit, you can use 25\&.
135 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\&.
141 Informacje o grupach użytkownik\('ow\&.
146 secure group account information