Debian Codegraph @

upstream/debian-trixie/man5/group.5

raw
1 .\" Copyright (c) 1993 Michael Haardt ([email protected]),
2 .\" Fri Apr 2 11:32:09 MET DST 1993
3 .\"
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\"
6 .\" Modified Sat Jul 24 17:06:03 1993 by Rik Faith ([email protected])
7 .TH group 5 2024-05-02 "Linux man-pages 6.9.1"
8 .SH NAME
9 group \- user group file
10 .SH DESCRIPTION
11 The
12 .I /etc/group
13 file is a text file that defines the groups on the system.
14 There is one entry per line, with the following format:
15 .P
16 .in +4n
17 .EX
18 group_name:password:GID:user_list
19 .EE
20 .in
21 .P
22 The fields are as follows:
23 .TP
24 .I group_name
25 the name of the group.
26 .TP
27 .I password
28 the (encrypted) group password.
29 If this field is empty, no password is needed.
30 .TP
31 .I GID
32 the numeric group ID.
33 .TP
34 .I user_list
35 a list of the usernames that are members of this group, separated by commas.
36 .SH FILES
37 .I /etc/group
38 .SH BUGS
39 As the 4.2BSD
40 .BR initgroups (3)
41 man page says: no one seems to keep
42 .I /etc/group
43 up-to-date.
44 .SH SEE ALSO
45 .BR chgrp (1),
46 .BR gpasswd (1),
47 .BR groups (1),
48 .BR login (1),
49 .BR newgrp (1),
50 .BR sg (1),
51 .BR getgrent (3),
52 .BR getgrnam (3),
53 .BR gshadow (5),
54 .BR passwd (5),
55 .BR vigr (8)