[Pkg-shadow-commits] r3634 - in upstream/trunk: . man man/login.defs.d
Nicolas FRANÇOIS
nekral-guest at alioth.debian.org
Sat Nov 19 14:33:55 UTC 2011
Author: nekral-guest
Date: 2011-11-19 14:33:53 +0000 (Sat, 19 Nov 2011)
New Revision: 3634
Modified:
upstream/trunk/ChangeLog
upstream/trunk/man/groupadd.8.xml
upstream/trunk/man/groupmod.8.xml
upstream/trunk/man/login.defs.d/GID_MAX.xml
upstream/trunk/man/login.defs.d/SYS_GID_MAX.xml
upstream/trunk/man/login.defs.d/SYS_UID_MAX.xml
upstream/trunk/man/login.defs.d/UID_MAX.xml
upstream/trunk/man/useradd.8.xml
upstream/trunk/man/usermod.8.xml
Log:
* man/useradd.8.xml, man/groupadd.8.xml, man/usermod.8.xml,
man/groupmod.8.xml: Avoid hardcoded values, and reference instead
the configuration options (e.g. UID_MIN)
* man/groupmod.8.xml, man/usermod.8.xml: Add missing reference to
login.defs
* man/login.defs.d/UID_MAX.xml, man/login.defs.d/SYS_UID_MAX.xml,
man/login.defs.d/GID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
Document the default values.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2011-11-19 14:29:20 UTC (rev 3633)
+++ upstream/trunk/ChangeLog 2011-11-19 14:33:53 UTC (rev 3634)
@@ -1,5 +1,16 @@
-2011-11-16 Nicolas François <nicolas.francois at centraliens.net>
+2011-11-19 Nicolas François <nicolas.francois at centraliens.net>
+ * man/useradd.8.xml, man/groupadd.8.xml, man/usermod.8.xml,
+ man/groupmod.8.xml: Avoid hardcoded values, and reference instead
+ the configuration options (e.g. UID_MIN)
+ * man/groupmod.8.xml, man/usermod.8.xml: Add missing reference to
+ login.defs
+ * man/login.defs.d/UID_MAX.xml, man/login.defs.d/SYS_UID_MAX.xml,
+ man/login.defs.d/GID_MAX.xml, man/login.defs.d/SYS_GID_MAX.xml:
+ Document the default values.
+
+2011-11-19 Nicolas François <nicolas.francois at centraliens.net>
+
* src/gpasswd.c: Change of group password enforces gshadow
password. Set /etc/group password to "x".
Modified: upstream/trunk/man/groupadd.8.xml
===================================================================
--- upstream/trunk/man/groupadd.8.xml 2011-11-19 14:29:20 UTC (rev 3633)
+++ upstream/trunk/man/groupadd.8.xml 2011-11-19 14:33:53 UTC (rev 3634)
@@ -99,10 +99,13 @@
<para>The numerical value of the group's ID. This value must be
unique, unless the <option>-o</option> option is used. The value
must be non-negative. The default is to use the smallest ID
- value greater than 999 and greater than every other group.
- Values between 0 and 999 are typically reserved for system
- accounts.
+ value greater than or equal to <option>GID_MIN</option> and
+ greater than every other group.
</para>
+ <para>
+ See also the <option>-r</option> option and the
+ <option>GID_MAX</option> description.
+ </para>
</listitem>
</varlistentry>
<varlistentry>
Modified: upstream/trunk/man/groupmod.8.xml
===================================================================
--- upstream/trunk/man/groupmod.8.xml 2011-11-19 14:29:20 UTC (rev 3633)
+++ upstream/trunk/man/groupmod.8.xml 2011-11-19 14:33:53 UTC (rev 3634)
@@ -86,8 +86,7 @@
The value of
<replaceable>GID</replaceable> must be a non-negative decimal
integer. This value must be unique, unless the
- <option>-o</option> option is used. Values between 0 and 999 are
- typically reserved for system groups.
+ <option>-o</option> option is used.
</para>
<para>
Users who use the group as primary group will be updated to
@@ -99,6 +98,12 @@
<replaceable>GROUP</replaceable>, must have their group ID
changed manually.
</para>
+ <para>
+ No checks will be performed with regard to the
+ <option>GID_MIN</option>, <option>GID_MAX</option>,
+ <option>SYS_GID_MIN</option>, or <option>SYS_GID_MAX</option>
+ from <filename>/etc/login.defs</filename>.
+ </para>
</listitem>
</varlistentry>
<varlistentry>
@@ -196,6 +201,12 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><filename>/etc/login.defs</filename></term>
+ <listitem>
+ <para>Shadow password suite configuration.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><filename>/etc/passwd</filename></term>
<listitem>
<para>User account information.</para>
@@ -277,6 +288,9 @@
<refentrytitle>groupdel</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
+ <refentrytitle>login.defs</refentrytitle><manvolnum>5</manvolnum>
+ </citerefentry>,
+ <citerefentry>
<refentrytitle>useradd</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
Modified: upstream/trunk/man/login.defs.d/GID_MAX.xml
===================================================================
--- upstream/trunk/man/login.defs.d/GID_MAX.xml 2011-11-19 14:29:20 UTC (rev 3633)
+++ upstream/trunk/man/login.defs.d/GID_MAX.xml 2011-11-19 14:33:53 UTC (rev 3634)
@@ -37,5 +37,9 @@
<command>useradd</command>, <command>groupadd</command>, or
<command>newusers</command>.
</para>
+ <para>
+ The default value for <option>GID_MIN</option> (resp.
+ <option>GID_MAX</option>) is 1000 (resp. 60000).
+ </para>
</listitem>
</varlistentry>
Modified: upstream/trunk/man/login.defs.d/SYS_GID_MAX.xml
===================================================================
--- upstream/trunk/man/login.defs.d/SYS_GID_MAX.xml 2011-11-19 14:29:20 UTC (rev 3633)
+++ upstream/trunk/man/login.defs.d/SYS_GID_MAX.xml 2011-11-19 14:33:53 UTC (rev 3634)
@@ -35,5 +35,9 @@
<command>useradd</command>, <command>groupadd</command>, or
<command>newusers</command>.
</para>
+ <para>
+ The default value for <option>SYS_GID_MIN</option> (resp.
+ <option>SYS_GID_MAX</option>) is 101 (resp. <option>GID_MIN</option>-1).
+ </para>
</listitem>
</varlistentry>
Modified: upstream/trunk/man/login.defs.d/SYS_UID_MAX.xml
===================================================================
--- upstream/trunk/man/login.defs.d/SYS_UID_MAX.xml 2011-11-19 14:29:20 UTC (rev 3633)
+++ upstream/trunk/man/login.defs.d/SYS_UID_MAX.xml 2011-11-19 14:33:53 UTC (rev 3634)
@@ -34,5 +34,9 @@
Range of user IDs used for the creation of system users by
<command>useradd</command> or <command>newusers</command>.
</para>
+ <para>
+ The default value for <option>SYS_UID_MIN</option> (resp.
+ <option>SYS_UID_MAX</option>) is 101 (resp. <option>UID_MIN</option>-1).
+ </para>
</listitem>
</varlistentry>
Modified: upstream/trunk/man/login.defs.d/UID_MAX.xml
===================================================================
--- upstream/trunk/man/login.defs.d/UID_MAX.xml 2011-11-19 14:29:20 UTC (rev 3633)
+++ upstream/trunk/man/login.defs.d/UID_MAX.xml 2011-11-19 14:33:53 UTC (rev 3634)
@@ -36,5 +36,9 @@
Range of user IDs used for the creation of regular users by
<command>useradd</command> or <command>newusers</command>.
</para>
+ <para>
+ The default value for <option>UID_MIN</option> (resp.
+ <option>UID_MAX</option>) is 1000 (resp. 60000).
+ </para>
</listitem>
</varlistentry>
Modified: upstream/trunk/man/useradd.8.xml
===================================================================
--- upstream/trunk/man/useradd.8.xml 2011-11-19 14:29:20 UTC (rev 3633)
+++ upstream/trunk/man/useradd.8.xml 2011-11-19 14:33:53 UTC (rev 3634)
@@ -472,9 +472,13 @@
The numerical value of the user's ID. This value must be unique,
unless the <option>-o</option> option is used. The value must be
non-negative. The default is to use the smallest ID value
- greater than 999 and greater than every other user. Values
- between 0 and 999 are typically reserved for system accounts.
+ greater than or equal to <option>UID_MIN</option> and greater
+ than every other user.
</para>
+ <para>
+ See also the <option>-r</option> option and the
+ <option>UID_MAX</option> description.
+ </para>
</listitem>
</varlistentry>
<varlistentry>
Modified: upstream/trunk/man/usermod.8.xml
===================================================================
--- upstream/trunk/man/usermod.8.xml 2011-11-19 14:29:20 UTC (rev 3633)
+++ upstream/trunk/man/usermod.8.xml 2011-11-19 14:33:53 UTC (rev 3634)
@@ -331,8 +331,7 @@
<para>
This value must be unique,
unless the <option>-o</option> option is used. The value must be
- non-negative. Values between 0 and 999 are typically reserved
- for system accounts.
+ non-negative.
</para>
<para>
The user's mailbox, and any files which the user owns and which are
@@ -343,6 +342,12 @@
The ownership of files outside of the user's home directory
must be fixed manually.
</para>
+ <para>
+ No checks will be performed with regard to the
+ <option>UID_MIN</option>, <option>UID_MAX</option>,
+ <option>SYS_UID_MIN</option>, or <option>SYS_UID_MAX</option>
+ from <filename>/etc/login.defs</filename>.
+ </para>
</listitem>
</varlistentry>
<varlistentry>
@@ -431,6 +436,12 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><filename>/etc/login.defs</filename></term>
+ <listitem>
+ <para>Shadow password suite configuration.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><filename>/etc/passwd</filename></term>
<listitem>
<para>User account information.</para>
More information about the Pkg-shadow-commits
mailing list