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