man-pages/man5/group.5.html
2021-03-31 01:06:50 +01:00

121 lines
2.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GROUP</TITLE>
</HEAD><BODY>
<H1>GROUP</H1>
Section: Linux Programmer's Manual (5)<BR>Updated: 2018-04-30<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
group - user group file
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
The
<I>/etc/group</I>
file is a text file that defines the groups on the system.
There is one entry per line, with the following format:
<P>
group_name:password:GID:user_list
<P>
The fields are as follows:
<DL COMPACT>
<DT id="1"><I>group_name</I>
<DD>
the name of the group.
<DT id="2"><I>password</I>
<DD>
the (encrypted) group password.
If this field is empty, no password is needed.
<DT id="3"><I>GID</I>
<DD>
the numeric group ID.
<DT id="4"><I>user_list</I>
<DD>
a list of the usernames that are members of this group, separated by commas.
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>FILES</H2>
<I>/etc/group</I>
<A NAME="lbAE">&nbsp;</A>
<H2>BUGS</H2>
As the 4.2BSD
<B><A HREF="/cgi-bin/man/man2html?3+initgroups">initgroups</A></B>(3)
man page says: no one seems to keep
<I>/etc/group</I>
up-to-date.
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+chgrp">chgrp</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+gpasswd">gpasswd</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+groups">groups</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+login">login</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+newgrp">newgrp</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+sg">sg</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?3+getgrent">getgrent</A></B>(3),
<B><A HREF="/cgi-bin/man/man2html?3+getgrnam">getgrnam</A></B>(3),
<B><A HREF="/cgi-bin/man/man2html?5+gshadow">gshadow</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?5+passwd">passwd</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?8+vigr">vigr</A></B>(8)
<A NAME="lbAG">&nbsp;</A>
<H2>COLOPHON</H2>
This page is part of release 5.05 of the Linux
<I>man-pages</I>
project.
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at
<A HREF="https://www.kernel.org/doc/man-pages/.">https://www.kernel.org/doc/man-pages/.</A>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
<DT id="6"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="7"><A HREF="#lbAD">FILES</A><DD>
<DT id="8"><A HREF="#lbAE">BUGS</A><DD>
<DT id="9"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="10"><A HREF="#lbAG">COLOPHON</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:03 GMT, March 31, 2021
</BODY>
</HTML>