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