]>
Commit | Line | Data |
---|---|---|
3d54a910 MK |
1 | .\" Copyright (c) 1993 Michael Haardt (michael@moria.de), |
2 | .\" Fri Apr 2 11:32:09 MET DST 1993 | |
fea681da | 3 | .\" |
e4a74ca8 | 4 | .\" SPDX-License-Identifier: GPL-2.0-or-later |
c13182ef | 5 | .\" |
fea681da | 6 | .\" Modified Sat Jul 24 17:06:03 1993 by Rik Faith (faith@cs.unc.edu) |
4c1c5274 | 7 | .TH group 5 (date) "Linux man-pages (unreleased)" |
fea681da MK |
8 | .SH NAME |
9 | group \- user group file | |
10 | .SH DESCRIPTION | |
91567885 MK |
11 | The |
12 | .I /etc/group | |
13 | file is a text file that defines the groups on the system. | |
1de5c703 | 14 | There is one entry per line, with the following format: |
bdd915e2 MK |
15 | .PP |
16 | .in +4n | |
17 | .EX | |
70ccce11 | 18 | group_name:password:GID:user_list |
bdd915e2 MK |
19 | .EE |
20 | .in | |
21 | .PP | |
91567885 | 22 | The fields are as follows: |
0019177e | 23 | .TP |
05624767 | 24 | .I group_name |
fea681da | 25 | the name of the group. |
05624767 MK |
26 | .TP |
27 | .I password | |
c13182ef MK |
28 | the (encrypted) group password. |
29 | If this field is empty, no password is needed. | |
05624767 MK |
30 | .TP |
31 | .I GID | |
91567885 | 32 | the numeric group ID. |
05624767 MK |
33 | .TP |
34 | .I user_list | |
1de5c703 | 35 | a list of the usernames that are members of this group, separated by commas. |
2b2581ee | 36 | .SH FILES |
275723f9 | 37 | .I /etc/group |
fea681da MK |
38 | .SH BUGS |
39 | As the 4.2BSD | |
40 | .BR initgroups (3) | |
9b13f770 | 41 | man page says: no one seems to keep |
f88233dd MK |
42 | .I /etc/group |
43 | up-to-date. | |
47297adb | 44 | .SH SEE ALSO |
610ed9b9 | 45 | .BR chgrp (1), |
124ba9da | 46 | .BR gpasswd (1), |
09897eb6 | 47 | .BR groups (1), |
fea681da MK |
48 | .BR login (1), |
49 | .BR newgrp (1), | |
19126047 | 50 | .BR sg (1), |
a8f6012c MK |
51 | .BR getgrent (3), |
52 | .BR getgrnam (3), | |
64359438 | 53 | .BR gshadow (5), |
a4345439 MK |
54 | .BR passwd (5), |
55 | .BR vigr (8) |