]> git.ipfire.org Git - thirdparty/man-pages.git/blame_incremental - man5/group.5
sock_diag.7: ffix: white space tweaks in example program
[thirdparty/man-pages.git] / man5 / group.5
... / ...
CommitLineData
1.\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
2.\" Fri Apr 2 11:32:09 MET DST 1993
3.\"
4.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
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
21.\" License along with this manual; if not, see
22.\" <http://www.gnu.org/licenses/>.
23.\" %%%LICENSE_END
24.\"
25.\" Modified Sat Jul 24 17:06:03 1993 by Rik Faith (faith@cs.unc.edu)
26.TH GROUP 5 2016-10-08 "Linux" "Linux Programmer's Manual"
27.SH NAME
28group \- user group file
29.SH DESCRIPTION
30The
31.I /etc/group
32file is a text file that defines the groups on the system.
33There is one entry per line, with the following format:
34.sp
35.RS
36group_name:password:GID:user_list
37.RE
38.sp
39The fields are as follows:
40.TP 12
41.I group_name
42the name of the group.
43.TP
44.I password
45the (encrypted) group password.
46If this field is empty, no password is needed.
47.TP
48.I GID
49the numeric group ID.
50.TP
51.I user_list
52a list of the usernames that are members of this group, separated by commas.
53.SH FILES
54/etc/group
55.SH BUGS
56As the 4.2BSD
57.BR initgroups (3)
58man page says: no-one seems to keep
59.I /etc/group
60up-to-date.
61.SH SEE ALSO
62.BR chgrp (1),
63.BR gpasswd (1),
64.BR groups (1),
65.BR login (1),
66.BR newgrp (1),
67.BR sg (1),
68.BR getgrent (3),
69.BR getgrnam (3),
70.BR gshadow (5),
71.BR passwd (5)