tizen 2.0
[external/shadow.git] / man / pl / groupmems.8
1 '\" t
2 .\"     Title: groupmems
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 "GROUPMEMS" "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 groupmems \- administer members of a user\'s primary group
23 .SH "SK\(/LADNIA"
24 .HP \w'\fBgroupmems\fR\ 'u
25 \fBgroupmems\fR \-a\ \fIuser_name\fR | \-d\ \fIuser_name\fR | [\-g\ \fIgroup_name\fR] | \-l | \-p 
26 .SH "OPIS"
27 .PP
28 The
29 \fBgroupmems\fR
30 command allows a user to administer his/her own group membership list without the requirement of superuser privileges\&. The
31 \fBgroupmems\fR
32 utility is for systems that configure its users to be in their own name sake primary group (i\&.e\&., guest / guest)\&.
33 .PP
34 Only the superuser, as administrator, can use
35 \fBgroupmems\fR
36 to alter the memberships of other groups\&.
37 .SH "OPCJE"
38 .PP
39 Polecenie
40 \fBgroupmems\fR
41 posiada następujące opcje:
42 .PP
43 \fB\-a\fR, \fB\-\-add\fR \fIuser_name\fR
44 .RS 4
45 Add an user to the group membership list\&.
46 .sp
47 If the
48 /etc/gshadow
49 file exist, and the group has no entry in the
50 /etc/gshadow
51 file, a new entry will be created\&.
52 .RE
53 .PP
54 \fB\-d\fR, \fB\-\-delete\fR \fIuser_name\fR
55 .RS 4
56 Delete a user from the group membership list\&.
57 .sp
58 If the
59 /etc/gshadow
60 file exist, the user will be removed from the list of members and administrators of the group\&.
61 .sp
62 If the
63 /etc/gshadow
64 file exist, and the group has no entry in the
65 /etc/gshadow
66 file, a new entry will be created\&.
67 .RE
68 .PP
69 \fB\-g\fR, \fB\-\-group\fR \fIgroup_name\fR
70 .RS 4
71 The superuser can specify which group membership list to modify\&.
72 .RE
73 .PP
74 \fB\-l\fR, \fB\-\-list\fR
75 .RS 4
76 List the group membership list\&.
77 .RE
78 .PP
79 \fB\-p\fR, \fB\-\-purge\fR
80 .RS 4
81 Purge all users from the group membership list\&.
82 .sp
83 If the
84 /etc/gshadow
85 file exist, and the group has no entry in the
86 /etc/gshadow
87 file, a new entry will be created\&.
88 .RE
89 .SH "SETUP"
90 .PP
91 The
92 \fBgroupmems\fR
93 executable should be in mode
94 2770
95 as user
96 \fIroot\fR
97 and in group
98 \fIgroups\fR\&. The system administrator can add users to group
99 \fIgroups\fR
100 to allow or disallow them using the
101 \fBgroupmems\fR
102 utility to manage their own group membership list\&.
103 .sp
104 .if n \{\
105 .RS 4
106 .\}
107 .nf
108         $ groupadd \-r groups
109         $ chmod 2770 groupmems
110         $ chown root\&.groups groupmems
111         $ groupmems \-g groups \-a gk4
112     
113 .fi
114 .if n \{\
115 .RE
116 .\}
117 .SH "CONFIGURATION"
118 .PP
119 The following configuration variables in
120 /etc/login\&.defs
121 change the behavior of this tool:
122 .PP
123 \fBMAX_MEMBERS_PER_GROUP\fR (number)
124 .RS 4
125 Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
126 /etc/group
127 (with the same name, same password, and same GID)\&.
128 .sp
129 The default value is 0, meaning that there are no limits in the number of members in a group\&.
130 .sp
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\&.
132 .sp
133 If you need to enforce such limit, you can use 25\&.
134 .sp
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\&.
136 .RE
137 .SH "PLIKI"
138 .PP
139 /etc/group
140 .RS 4
141 Informacje o grupach użytkownik\('ow\&.
142 .RE
143 .PP
144 /etc/gshadow
145 .RS 4
146 secure group account information
147 .RE
148 .SH "ZOBACZ TAKŻE"
149 .PP
150 \fBchfn\fR(1),
151 \fBchsh\fR(1),
152 \fBpasswd\fR(1),
153 \fBgroupadd\fR(8),
154 \fBgroupdel\fR(8),
155 \fBuseradd\fR(8),
156 \fBuserdel\fR(8),
157 \fBusermod\fR(8)\&.