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

142 lines
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GSHADOW</TITLE>
</HEAD><BODY>
<H1>GSHADOW</H1>
Section: File Formats and Conversions (5)<BR>Updated: 05/28/2020<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>
gshadow - shadowed group file
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
/etc/gshadow
contains the shadowed information for group accounts.
<P>
This file must not be readable by regular users if password security is to be maintained.
<P>
Each line of this file contains the following colon-separated fields:
<P>
<B>group name</B>
<DL COMPACT><DT id="1"><DD>
It must be a valid group name, which exist on the system.
</DL>
<P>
<B>encrypted password</B>
<DL COMPACT><DT id="2"><DD>
Refer to
<B><A HREF="/cgi-bin/man/man2html?3+crypt">crypt</A></B>(3)
for details on how this string is interpreted.
<P>
If the password field contains some string that is not a valid result of
<B><A HREF="/cgi-bin/man/man2html?3+crypt">crypt</A></B>(3), for instance ! or *, users will not be able to use a unix password to access the group (but group members do not need the password).
<P>
The password is used when a user who is not a member of the group wants to gain the permissions of this group (see
<B><A HREF="/cgi-bin/man/man2html?1+newgrp">newgrp</A></B>(1)).
<P>
This field may be empty, in which case only the group members can gain the group permissions.
<P>
A password field which starts with an exclamation mark means that the password is locked. The remaining characters on the line represent the password field before the password was locked.
<P>
This password supersedes any password specified in
/etc/group.
</DL>
<P>
<B>administrators</B>
<DL COMPACT><DT id="3"><DD>
It must be a comma-separated list of user names.
<P>
Administrators can change the password or the members of the group.
<P>
Administrators also have the same permissions as the members (see below).
</DL>
<P>
<B>members</B>
<DL COMPACT><DT id="4"><DD>
It must be a comma-separated list of user names.
<P>
Members can access the group without being prompted for a password.
<P>
You should use the same list of users as in
/etc/group.
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>FILES</H2>
<P>
/etc/group
<DL COMPACT><DT id="5"><DD>
Group account information.
</DL>
<P>
/etc/gshadow
<DL COMPACT><DT id="6"><DD>
Secure group account information.
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?5+gpasswd">gpasswd</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?5+group">group</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?8+grpck">grpck</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?8+grpconv">grpconv</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?1+newgrp">newgrp</A></B>(1).
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="7"><A HREF="#lbAB">NAME</A><DD>
<DT id="8"><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT id="9"><A HREF="#lbAD">FILES</A><DD>
<DT id="10"><A HREF="#lbAE">SEE ALSO</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>