1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2005 - 2008, Nicolas François
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions
9 1. Redistributions of source code must retain the above copyright
10 notice, this list of conditions and the following disclaimer.
11 2. Redistributions in binary form must reproduce the above copyright
12 notice, this list of conditions and the following disclaimer in the
13 documentation and/or other materials provided with the distribution.
14 3. The name of the copyright holders or contributors may not be used to
15 endorse or promote products derived from this software without
16 specific prior written permission.
18 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
21 PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 <refentry id='gshadow.5'>
31 <!-- $Id: gshadow.5.xml 2965 2009-05-21 13:53:56Z nekral-guest $ -->
33 <refentrytitle>gshadow</refentrytitle>
34 <manvolnum>5</manvolnum>
35 <refmiscinfo class="sectdesc">File Formats and Conversions</refmiscinfo>
37 <refnamediv id='name'>
38 <refname>gshadow</refname>
39 <refpurpose>shadowed group file</refpurpose>
42 <refsect1 id='description'>
43 <title>DESCRIPTION</title>
45 <filename>/etc/gshadow</filename> contains the shadowed information
50 This file must not be readable by regular users if password security
55 Each line of this file contains the following colon-separated
60 <term><emphasis role="bold">group name</emphasis></term>
63 It must be a valid group name, which exist on the system.
68 <term><emphasis role="bold">encrypted password</emphasis></term>
71 Refer to <citerefentry><refentrytitle>crypt</refentrytitle>
72 <manvolnum>3</manvolnum></citerefentry> for details on how
73 this string is interpreted.
76 If the password field contains some string that is not a valid
77 result of <citerefentry><refentrytitle>crypt</refentrytitle>
78 <manvolnum>3</manvolnum></citerefentry>, for instance ! or *,
79 users will not be able to use a unix password to access the
80 group (but group members do not need the password).
83 The password is used when an user who is not a member of the
84 group wants to gain the permissions of this group (see
85 <citerefentry><refentrytitle>newgrp</refentrytitle>
86 <manvolnum>1</manvolnum></citerefentry>).
89 This field may be empty, in which case only the group members
90 can gain the group permissions.
93 A password field which starts with a exclamation mark means
94 that the password is locked. The remaining characters on the
95 line represent the password field before the password was
99 This password supersedes any password specified in
100 <filename>/etc/group</filename>.
106 <term><emphasis role="bold">administrators</emphasis></term>
109 It must be a comma-separated list of user names.
112 Administrators can change the password or the members of the
116 Administrators also have the same permissions as the members
122 <term><emphasis role="bold">members</emphasis></term>
125 It must be a comma-separated list of user names.
128 Members can access the group without being prompted for a
132 You should use the same list of users as in
133 <filename>/etc/group</filename>.
140 <refsect1 id='files'>
144 <term><filename>/etc/group</filename></term>
146 <para>Group account information.</para>
150 <term><filename>/etc/gshadow</filename></term>
152 <para>Secure group account information.</para>
158 <refsect1 id='see_also'>
159 <title>SEE ALSO</title>
162 <refentrytitle>gpasswd</refentrytitle><manvolnum>5</manvolnum>
165 <refentrytitle>group</refentrytitle><manvolnum>5</manvolnum>
168 <refentrytitle>grpck</refentrytitle><manvolnum>8</manvolnum>
171 <refentrytitle>grpconv</refentrytitle><manvolnum>8</manvolnum>
174 <refentrytitle>newgrp</refentrytitle><manvolnum>1</manvolnum>