Initial commit for Tizen
[profile/extras/shadow-utils.git] / man / login.defs.d / USERGROUPS_ENAB.xml
1 <!--
2    Copyright (c) 1991 - 1993, Julianne Frances Haugh
3    Copyright (c) 1991 - 1993, Chip Rosenthal
4    Copyright (c) 2007 - 2008, Nicolas François
5    All rights reserved.
6   
7    Redistribution and use in source and binary forms, with or without
8    modification, are permitted provided that the following conditions
9    are met:
10    1. Redistributions of source code must retain the above copyright
11       notice, this list of conditions and the following disclaimer.
12    2. Redistributions in binary form must reproduce the above copyright
13       notice, this list of conditions and the following disclaimer in the
14       documentation and/or other materials provided with the distribution.
15    3. The name of the copyright holders or contributors may not be used to
16       endorse or promote products derived from this software without
17       specific prior written permission.
18   
19    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20    ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
22    PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
23    HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27    THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 -->
31 <varlistentry>
32   <term><option>USERGROUPS_ENAB</option> (boolean)</term>
33   <listitem>
34     <para condition="no_pam">
35       Enable setting of the umask group bits to be the same as owner bits
36       (examples: 022 -> 002, 077 -> 007) for non-root users, if the uid is
37       the same as gid, and username is the same as the primary group name.
38     </para>
39     <para>
40       If set to <replaceable>yes</replaceable>, <command>userdel</command>
41       will remove the user's group if it contains no more members, and
42       <command>useradd</command> will create by default a group with the
43       name of the user.
44     </para>
45   </listitem>
46 </varlistentry>