[patch] document USERGROUPS_ENAB in login.defs(5)

Mike Frysinger <[email protected]> Fri, 7 Apr 2006 21:47:27 -0400
Newsgroups gmane.linux.pld.shadow.general
Organization wh0rd.org
Message-ID <[email protected]>
seems documentation on this feature is lacking
-mike
shadow-document-USERGROUPS_ENAB.patch (text/x-diff, 761 B)
2006-04-07  Mike Frysinger  <[email protected]>

	* man/login.defs.5.xml (USERGROUPS_ENAB): Document.

--- man/login.defs.5.xml
+++ man/login.defs.5.xml
@@ -163,6 +163,17 @@
 	  </para>
 	</listitem>
       </varlistentry>
+      <varlistentry>
+	<term>USERGROUPS_ENAB (boolean)</term>
+	<listitem>
+	  <para>
+	    If <emphasis remap='I'>yes</emphasis>, then when a user logs in
+	    and their uid != 0, uid == gid, and their username is the same as
+	    their initial login group, their umask is set to 002 instead of
+	    022.
+	  </para>
+	</listitem>
+      </varlistentry>
     </variablelist>
   </refsect1>
 
@@ -222,6 +233,7 @@
 	<listitem>
 	  <para>MAIL_DIR
 	    USERDEL_CMD
+	    USERGROUPS_ENAB
 	  </para>
 	</listitem>
       </varlistentry>