group(5) — Linux manual page

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

group(5)                   File Formats 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,
              separated 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 the man-pages (Linux kernel and C library
       user-space interface documentation) project.  Information about
       the project can be found at 
       ⟨https://www.kernel.org/doc/man-pages/⟩.  If you have a bug report
       for this manual page, see
       ⟨https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING⟩.
       This page was obtained from the tarball man-pages-6.9.1.tar.gz
       fetched from
       ⟨https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/⟩ on
       2024-06-26.  If you discover any rendering problems in this HTML
       version of the page, or you believe there is a better or more up-
       to-date source for the page, or you have corrections or
       improvements to the information in this COLOPHON (which is not
       part of the original manual page), send a mail to
       man-pages@man7.org

Linux man-pages 6.9.1          2024-05-02                       group(5)

Pages that refer to this page: gpasswd(1)indomcachectl(1)lslogins(1)newgrp(1)sg(1)fgetgrent(3)getgrent(3)getgrent_r(3)getgrnam(3)getgrouplist(3)group_member(3)putgrent(3)gshadow(5)passwd(5)credentials(7)grpck(8)nscd(8)pwck(8)vipw(8)