]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man5/group.5
sock_diag.7: ffix: white space tweaks in example program
[thirdparty/man-pages.git] / man5 / group.5
CommitLineData
3d54a910
MK
1.\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
2.\" Fri Apr 2 11:32:09 MET DST 1993
fea681da 3.\"
1dd72f9c 4.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
fea681da
MK
5.\" This is free documentation; you can redistribute it and/or
6.\" modify it under the terms of the GNU General Public License as
7.\" published by the Free Software Foundation; either version 2 of
8.\" the License, or (at your option) any later version.
9.\"
10.\" The GNU General Public License's references to "object code"
11.\" and "executables" are to be interpreted as the output of any
12.\" document formatting or typesetting system, including
13.\" intermediate and printed output.
14.\"
15.\" This manual is distributed in the hope that it will be useful,
16.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18.\" GNU General Public License for more details.
19.\"
20.\" You should have received a copy of the GNU General Public
c715f741
MK
21.\" License along with this manual; if not, see
22.\" <http://www.gnu.org/licenses/>.
6a8d8745 23.\" %%%LICENSE_END
c13182ef 24.\"
fea681da 25.\" Modified Sat Jul 24 17:06:03 1993 by Rik Faith (faith@cs.unc.edu)
b8efb414 26.TH GROUP 5 2016-10-08 "Linux" "Linux Programmer's Manual"
fea681da
MK
27.SH NAME
28group \- user group file
29.SH DESCRIPTION
91567885
MK
30The
31.I /etc/group
32file is a text file that defines the groups on the system.
1de5c703 33There is one entry per line, with the following format:
fea681da
MK
34.sp
35.RS
70ccce11 36group_name:password:GID:user_list
fea681da
MK
37.RE
38.sp
91567885 39The fields are as follows:
05624767
MK
40.TP 12
41.I group_name
fea681da 42the name of the group.
05624767
MK
43.TP
44.I password
c13182ef
MK
45the (encrypted) group password.
46If this field is empty, no password is needed.
05624767
MK
47.TP
48.I GID
91567885 49the numeric group ID.
05624767
MK
50.TP
51.I user_list
1de5c703 52a list of the usernames that are members of this group, separated by commas.
2b2581ee
MK
53.SH FILES
54/etc/group
fea681da
MK
55.SH BUGS
56As the 4.2BSD
57.BR initgroups (3)
f64cc745 58man page says: no-one seems to keep
f88233dd
MK
59.I /etc/group
60up-to-date.
47297adb 61.SH SEE ALSO
610ed9b9 62.BR chgrp (1),
124ba9da 63.BR gpasswd (1),
09897eb6 64.BR groups (1),
fea681da
MK
65.BR login (1),
66.BR newgrp (1),
19126047 67.BR sg (1),
a8f6012c
MK
68.BR getgrent (3),
69.BR getgrnam (3),
64359438
MK
70.BR gshadow (5),
71.BR passwd (5)