OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / original / man5 / group.5
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 2010-10-21 "Linux" "Linux Programmer's Manual"
27 .SH NAME
28 group \- user group file
29 .SH DESCRIPTION
30 The
31 .I /etc/group
32 file is a text file that defines the groups on the system.
33 There is one entry per line, with the following format:
34 .sp
35 .RS
36 group_name:password:GID:user_list
37 .RE
38 .sp
39 The fields are as follows:
40 .TP 12
41 .I group_name
42 the name of the group.
43 .TP
44 .I password
45 the (encrypted) group password.
46 If this field is empty, no password is needed.
47 .TP
48 .I GID
49 the numeric group ID.
50 .TP
51 .I user_list
52 a list of the usernames that are members of this group, separated by commas.
53 .SH FILES
54 /etc/group
55 .SH BUGS
56 As the 4.2BSD
57 .BR initgroups (3)
58 man page says: No-one seems to keep
59 .I /etc/group
60 up-to-date.
61 .SH SEE ALSO
62 .BR login (1),
63 .BR newgrp (1),
64 .BR getgrent (3),
65 .BR getgrnam (3),
66 .BR passwd (5)
67 .SH COLOPHON
68 This page is part of release 3.79 of the Linux
69 .I man-pages
70 project.
71 A description of the project,
72 information about reporting bugs,
73 and the latest version of this page,
74 can be found at
75 \%http://www.kernel.org/doc/man\-pages/.