group(5) — Linux manual page

NAME | DESCRIPTION | FILES | BUGS | SEE ALSO | COLOPHON

GROUP(5)                  Linux Programmer's Manual                 GROUP(5)

NAME         top

       group - user group file

DESCRIPTION         top

       The /etc/group file is a text file that defines the groups on the
       system.  There is one entry per line, with the following format:

           group_name:password:GID:user_list

       The fields are as follows:

       group_name
              the name of the group.

       password
              the (encrypted) group password.  If this field is empty, no
              password is needed.

       GID    the numeric group ID.

       user_list
              a list of the usernames that are members of this group, sepa‐
              rated by commas.

FILES         top

       /etc/group

BUGS         top

       As the 4.2BSD initgroups(3) man page says: no one seems to keep
       /etc/group up-to-date.

SEE ALSO         top

       chgrp(1), gpasswd(1), groups(1), login(1), newgrp(1), sg(1),
       getgrent(3), getgrnam(3), gshadow(5), passwd(5), vigr(8)

COLOPHON         top

       This page is part of release 5.08 of the Linux man-pages project.  A
       description of the project, information about reporting bugs, and the
       latest version of this page, can be found at
       https://www.kernel.org/doc/man-pages/.

Linux                            2020-04-11                         GROUP(5)

Pages that refer to this page: gpasswd(1)lslogins(1)newgrp(1)newgrp(1@@util-linux)sg(1)endgrent(3)fgetgrent(3)fgetgrent_r(3)getgrent(3)getgrent_r(3)getgrgid(3)getgrgid_r(3)getgrnam(3)getgrnam_r(3)getgrouplist(3)group_member(3)putgrent(3)setgrent(3)gshadow(5)passwd(5)credentials(7)grpck(8)nscd(8)pwck(8)vigr(8)vigr(8@@util-linux)vipw(8)