]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man5/group.5
Removed trailing white space at end of lines
[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)
09b8afdc 26.TH GROUP 5 2018-04-30 "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:
bdd915e2
MK
34.PP
35.in +4n
36.EX
70ccce11 37group_name:password:GID:user_list
bdd915e2
MK
38.EE
39.in
40.PP
91567885 41The fields are as follows:
05624767
MK
42.TP 12
43.I group_name
fea681da 44the name of the group.
05624767
MK
45.TP
46.I password
c13182ef
MK
47the (encrypted) group password.
48If this field is empty, no password is needed.
05624767
MK
49.TP
50.I GID
91567885 51the numeric group ID.
05624767
MK
52.TP
53.I user_list
1de5c703 54a list of the usernames that are members of this group, separated by commas.
2b2581ee 55.SH FILES
275723f9 56.I /etc/group
fea681da
MK
57.SH BUGS
58As the 4.2BSD
59.BR initgroups (3)
9b13f770 60man page says: no one seems to keep
f88233dd
MK
61.I /etc/group
62up-to-date.
47297adb 63.SH SEE ALSO
610ed9b9 64.BR chgrp (1),
124ba9da 65.BR gpasswd (1),
09897eb6 66.BR groups (1),
fea681da
MK
67.BR login (1),
68.BR newgrp (1),
19126047 69.BR sg (1),
a8f6012c
MK
70.BR getgrent (3),
71.BR getgrnam (3),
64359438 72.BR gshadow (5),
a4345439
MK
73.BR passwd (5),
74.BR vigr (8)