3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: Systemhanteringskommandon
7 .\" Source: Systemhanteringskommandon
10 .TH "GROUPMEMS" "8" "16-02-2011" "Systemhanteringskommandon" "Systemhanteringskommandon"
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 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 groupmems \- administrera medlemmar av en anv\(:andares prim\(:ara grupp
33 .HP \w'\fBgroupmems\fR\ 'u
34 \fBgroupmems\fR \-a\ \fIanv\(:andarnamn\fR | \-d\ \fIanv\(:andarnamn\fR | [\-g\ \fIgruppnamn\fR] | \-l | \-p
39 command allows a user to administer his/her own group membership list without the requirement of superuser privileges\&. The
41 utility is for systems that configure its users to be in their own name sake primary group (i\&.e\&., guest / guest)\&.
43 Only the superuser, as administrator, can use
45 to alter the memberships of other groups\&.
48 Flaggorna som g\(:aller f\(:or kommandot
52 \fB\-a\fR, \fB\-\-add\fR \fIuser_name\fR
54 Add an user to the group membership list\&.
58 file exist, and the group has no entry in the
60 file, a new entry will be created\&.
63 \fB\-d\fR, \fB\-\-delete\fR \fIuser_name\fR
65 Ta bort en anv\(:andare fr\(oan gruppen medlemslista\&.
69 file exist, the user will be removed from the list of members and administrators of the group\&.
73 file exist, and the group has no entry in the
75 file, a new entry will be created\&.
78 \fB\-g\fR, \fB\-\-group\fR \fIgroup_name\fR
80 The superuser can specify which group membership list to modify\&.
83 \fB\-l\fR, \fB\-\-list\fR
85 Lista gruppens medlemslista\&.
88 \fB\-p\fR, \fB\-\-purge\fR
90 Rensa alla anv\(:andare fr\(oan gruppens medlemslista\&.
94 file exist, and the group has no entry in the
96 file, a new entry will be created\&.
102 executable should be in mode
107 \fIgroups\fR\&. The system administrator can add users to group
109 to allow or disallow them using the
111 utility to manage their own group membership list\&.
117 $ groupadd \-r groups
118 $ chmod 2770 groupmems
119 $ chown root\&.groups groupmems
120 $ groupmems \-g groups \-a gk4
128 The following configuration variables in
130 change the behavior of this tool:
132 \fBMAX_MEMBERS_PER_GROUP\fR (number)
134 Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
136 (with the same name, same password, and same GID)\&.
138 The default value is 0, meaning that there are no limits in the number of members in a group\&.
140 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\&.
142 If you need to enforce such limit, you can use 25\&.
144 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\&.
150 Gruppkontoinformation\&.
155 s\(:aker gruppkontoinformation