OSDN Git Service

(split) LDP man-pages の original/ を v3.30 に更新。
[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 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
8 .\"
9 .\" The GNU General Public License's references to "object code"
10 .\" and "executables" are to be interpreted as the output of any
11 .\" document formatting or typesetting system, including
12 .\" intermediate and printed output.
13 .\"
14 .\" This manual is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 .\" GNU General Public License for more details.
18 .\"
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, write to the Free
21 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
22 .\" USA.
23 .\"
24 .\" Modified Sat Jul 24 17:06:03 1993 by Rik Faith (faith@cs.unc.edu)
25 .TH GROUP 5 2010-10-21 "Linux" "Linux Programmer's Manual"
26 .SH NAME
27 group \- user group file
28 .SH DESCRIPTION
29 The
30 .I /etc/group
31 file is a text file that defines the groups on the system.
32 There is one entry per line, with the following format:
33 .sp
34 .RS
35 group_name:password:GID:user_list
36 .RE
37 .sp
38 The fields are as follows:
39 .TP 12
40 .I group_name
41 the name of the group.
42 .TP
43 .I password
44 the (encrypted) group password.
45 If this field is empty, no password is needed.
46 .TP
47 .I GID
48 the numeric group ID.
49 .TP
50 .I user_list
51 a list of the usernames that are members of this group, separated by commas.
52 .SH FILES
53 /etc/group
54 .SH BUGS
55 As the 4.2BSD
56 .BR initgroups (3)
57 man page says: No-one seems to keep
58 .I /etc/group
59 up-to-date.
60 .SH "SEE ALSO"
61 .BR login (1),
62 .BR newgrp (1),
63 .BR getgrent (3),
64 .BR getgrnam (3),
65 .BR passwd (5)