e5cfd7
Index: shadow-4.5/man/groupmems.8.xml
e5cfd7
===================================================================
e5cfd7
--- shadow-4.5.orig/man/groupmems.8.xml
e5cfd7
+++ shadow-4.5/man/groupmems.8.xml
e5cfd7
@@ -179,20 +179,10 @@
e5cfd7
   <refsect1 id='setup'>
e5cfd7
     <title>SETUP</title>
e5cfd7
     <para>
e5cfd7
-      The <command>groupmems</command> executable should be in mode
e5cfd7
-      <literal>2770</literal> as user <emphasis>root</emphasis> and in group
e5cfd7
-      <emphasis>groups</emphasis>. The system administrator can add users to
e5cfd7
-      group <emphasis>groups</emphasis> to allow or disallow them using the
e5cfd7
-      <command>groupmems</command> utility to manage their own group
e5cfd7
-      membership list.
e5cfd7
+      In this operating system the <command>groupmems</command> executable
e5cfd7
+      is not setuid and regular users cannot use it to manipulate
e5cfd7
+      the membership of their own group.
e5cfd7
     </para>
e5cfd7
-
e5cfd7
-    <programlisting>
e5cfd7
-	$ groupadd -r groups
e5cfd7
-	$ chmod 2770 groupmems
e5cfd7
-	$ chown root.groups groupmems
e5cfd7
-	$ groupmems -g groups -a gk4
e5cfd7
-    </programlisting>
e5cfd7
   </refsect1>
e5cfd7
 
e5cfd7
   <refsect1 id='configuration'>
e5cfd7
Index: shadow-4.5/man/chage.1.xml
e5cfd7
===================================================================
e5cfd7
--- shadow-4.5.orig/man/chage.1.xml
e5cfd7
+++ shadow-4.5/man/chage.1.xml
e5cfd7
@@ -102,6 +102,9 @@
e5cfd7
 	    Set the number of days since January 1st, 1970 when the password
e5cfd7
 	    was last changed. The date may also be expressed in the format
e5cfd7
 	    YYYY-MM-DD (or the format more commonly used in your area).
e5cfd7
+	    If the <replaceable>LAST_DAY</replaceable> is set to
e5cfd7
+	    <emphasis>0</emphasis> the user is forced to change his password
e5cfd7
+	    on the next log on.
e5cfd7
 	  </para>
e5cfd7
 	</listitem>
e5cfd7
       </varlistentry>
e5cfd7
@@ -119,6 +122,13 @@
e5cfd7
 	    system again.
e5cfd7
 	  </para>
e5cfd7
 	  <para>
e5cfd7
+	    For example the following can be used to set an account to expire
e5cfd7
+	    in 180 days:
e5cfd7
+	  </para>
e5cfd7
+	  <programlisting>
e5cfd7
+	    chage -E $(date -d +180days +%Y-%m-%d)
e5cfd7
+	  </programlisting>
e5cfd7
+	  <para>
e5cfd7
 	    Passing the number <emphasis remap='I'>-1</emphasis> as the
e5cfd7
 	    <replaceable>EXPIRE_DATE</replaceable> will remove an account
e5cfd7
 	    expiration date.
e5cfd7
@@ -233,6 +243,18 @@
e5cfd7
       The <command>chage</command> program requires a shadow password file to
e5cfd7
       be available.
e5cfd7
     </para>
e5cfd7
+    <para>
e5cfd7
+      The chage program will report only the information from the shadow
e5cfd7
+      password file. This implies that configuration from other sources
e5cfd7
+     (e.g. LDAP or empty password hash field from the passwd file) that
e5cfd7
+     affect the user's login will not be shown in the chage output.
e5cfd7
+    </para>
e5cfd7
+    <para>
e5cfd7
+      The <command>chage</command> program will also not report any
e5cfd7
+      inconsistency between the shadow and passwd files (e.g. missing x in
e5cfd7
+      the passwd file). The <command>pwck</command> can be used to check
e5cfd7
+      for this kind of inconsistencies.
e5cfd7
+    </para>
e5cfd7
     <para>The <command>chage</command> command is restricted to the root
e5cfd7
       user, except for the <option>-l</option> option, which may be used by
e5cfd7
       an unprivileged user to determine when their password or account is due
e5cfd7
Index: shadow-4.5/man/ja/man5/login.defs.5
e5cfd7
===================================================================
e5cfd7
--- shadow-4.5.orig/man/ja/man5/login.defs.5
e5cfd7
+++ shadow-4.5/man/ja/man5/login.defs.5
e5cfd7
@@ -147,10 +147,6 @@ PASS_MAX_DAYS, PASS_MIN_DAYS, PASS_WARN_
e5cfd7
 shadow パスワード機能のどのプログラムが
e5cfd7
 どのパラメータを使用するかを示したものである。
e5cfd7
 .na
e5cfd7
-.IP chfn 12
e5cfd7
-CHFN_AUTH CHFN_RESTRICT
e5cfd7
-.IP chsh 12
e5cfd7
-CHFN_AUTH
e5cfd7
 .IP groupadd 12
e5cfd7
 GID_MAX GID_MIN
e5cfd7
 .IP newusers 12
e5cfd7
Index: shadow-4.5/man/login.defs.5.xml
e5cfd7
===================================================================
e5cfd7
--- shadow-4.5.orig/man/login.defs.5.xml
e5cfd7
+++ shadow-4.5/man/login.defs.5.xml
e5cfd7
@@ -162,6 +162,17 @@
e5cfd7
       long numeric parameters is machine-dependent.
e5cfd7
     </para>
e5cfd7
 
e5cfd7
+    <para>
e5cfd7
+      Please note that the parameters in this configuration file control the
e5cfd7
+      behavior of the tools from the shadow-utils component. None of these
e5cfd7
+      tools uses the PAM mechanism, and the utilities that use PAM (such as the
e5cfd7
+      passwd command) should be configured elsewhere. The only values that
e5cfd7
+      affect PAM modules are <emphasis>ENCRYPT_METHOD</emphasis> and <emphasis>SHA_CRYPT_MAX_ROUNDS</emphasis>
e5cfd7
+      for pam_unix module, <emphasis>FAIL_DELAY</emphasis> for pam_faildelay module,
e5cfd7
+      and <emphasis>UMASK</emphasis> for pam_umask module. Refer to
e5cfd7
+      pam(8) for more information.
e5cfd7
+    </para>
e5cfd7
+
e5cfd7
     <para>The following configuration items are provided:</para>
e5cfd7
 
e5cfd7
     <variablelist remap='IP'>
e5cfd7
@@ -252,16 +263,6 @@
e5cfd7
 	</listitem>
e5cfd7
       </varlistentry>
e5cfd7
       <varlistentry>
e5cfd7
-	<term>chfn</term>
e5cfd7
-	<listitem>
e5cfd7
-	  <para>
e5cfd7
-	    <phrase condition="no_pam">CHFN_AUTH</phrase>
e5cfd7
-	    CHFN_RESTRICT
e5cfd7
-	    <phrase condition="no_pam">LOGIN_STRING</phrase>
e5cfd7
-	  </para>
e5cfd7
-	</listitem>
e5cfd7
-      </varlistentry>
e5cfd7
-      <varlistentry>
e5cfd7
 	<term>chgpasswd</term>
e5cfd7
 	<listitem>
e5cfd7
 	  <para>
e5cfd7
@@ -282,14 +283,6 @@
e5cfd7
 	  </para>
e5cfd7
 	</listitem>
e5cfd7
       </varlistentry>
e5cfd7
-      <varlistentry condition="no_pam">
e5cfd7
-	<term>chsh</term>
e5cfd7
-	<listitem>
e5cfd7
-	  <para>
e5cfd7
-	    CHSH_AUTH LOGIN_STRING
e5cfd7
-	  </para>
e5cfd7
-	</listitem>
e5cfd7
-      </varlistentry>
e5cfd7
       
e5cfd7
       
e5cfd7
       <varlistentry>
e5cfd7
@@ -350,34 +343,6 @@
e5cfd7
       </varlistentry>
e5cfd7
       
e5cfd7
       
e5cfd7
-      <varlistentry>
e5cfd7
-	<term>login</term>
e5cfd7
-	<listitem>
e5cfd7
-	  <para>
e5cfd7
-	    <phrase condition="no_pam">CONSOLE</phrase>
e5cfd7
-	    CONSOLE_GROUPS DEFAULT_HOME
e5cfd7
-	    <phrase condition="no_pam">ENV_HZ ENV_PATH ENV_SUPATH
e5cfd7
-	    ENV_TZ ENVIRON_FILE</phrase>
e5cfd7
-	    ERASECHAR FAIL_DELAY
e5cfd7
-	    <phrase condition="no_pam">FAILLOG_ENAB</phrase>
e5cfd7
-	    FAKE_SHELL
e5cfd7
-	    <phrase condition="no_pam">FTMP_FILE</phrase>
e5cfd7
-	    HUSHLOGIN_FILE
e5cfd7
-	    <phrase condition="no_pam">ISSUE_FILE</phrase>
e5cfd7
-	    KILLCHAR
e5cfd7
-	    <phrase condition="no_pam">LASTLOG_ENAB</phrase>
e5cfd7
-	    LOGIN_RETRIES
e5cfd7
-	    <phrase condition="no_pam">LOGIN_STRING</phrase>
e5cfd7
-	    LOGIN_TIMEOUT LOG_OK_LOGINS LOG_UNKFAIL_ENAB
e5cfd7
-	    <phrase condition="no_pam">MAIL_CHECK_ENAB MAIL_DIR MAIL_FILE
e5cfd7
-	    MOTD_FILE NOLOGINS_FILE PORTTIME_CHECKS_ENAB
e5cfd7
-	    QUOTAS_ENAB</phrase>
e5cfd7
-	    TTYGROUP TTYPERM TTYTYPE_FILE
e5cfd7
-	    <phrase condition="no_pam">ULIMIT UMASK</phrase>
e5cfd7
-	    USERGROUPS_ENAB
e5cfd7
-	  </para>
e5cfd7
-	</listitem>
e5cfd7
-      </varlistentry>
e5cfd7
       
e5cfd7
       <varlistentry>
e5cfd7
 	<term>newgrp / sg</term>
e5cfd7
@@ -405,17 +370,6 @@
e5cfd7
 	</listitem>
e5cfd7
       </varlistentry>
e5cfd7
       
e5cfd7
-      <varlistentry condition="no_pam">
e5cfd7
-	<term>passwd</term>
e5cfd7
-	<listitem>
e5cfd7
-	  <para>
e5cfd7
-	    ENCRYPT_METHOD MD5_CRYPT_ENAB OBSCURE_CHECKS_ENAB
e5cfd7
-	    PASS_ALWAYS_WARN PASS_CHANGE_TRIES PASS_MAX_LEN PASS_MIN_LEN
e5cfd7
-	    <phrase condition="sha_crypt">SHA_CRYPT_MAX_ROUNDS
e5cfd7
-	    SHA_CRYPT_MIN_ROUNDS</phrase>
e5cfd7
-	  </para>
e5cfd7
-	</listitem>
e5cfd7
-      </varlistentry>
e5cfd7
       <varlistentry>
e5cfd7
 	<term>pwck</term>
e5cfd7
 	<listitem>
e5cfd7
@@ -442,32 +396,6 @@
e5cfd7
 	  </para>
e5cfd7
 	</listitem>
e5cfd7
       </varlistentry>
e5cfd7
-      <varlistentry>
e5cfd7
-	<term>su</term>
e5cfd7
-	<listitem>
e5cfd7
-	  <para>
e5cfd7
-	    <phrase condition="no_pam">CONSOLE</phrase>
e5cfd7
-	    CONSOLE_GROUPS DEFAULT_HOME
e5cfd7
-	    <phrase condition="no_pam">ENV_HZ ENVIRON_FILE</phrase>
e5cfd7
-	    ENV_PATH ENV_SUPATH
e5cfd7
-	    <phrase condition="no_pam">ENV_TZ LOGIN_STRING MAIL_CHECK_ENAB
e5cfd7
-	    MAIL_DIR MAIL_FILE QUOTAS_ENAB</phrase>
e5cfd7
-	    SULOG_FILE SU_NAME
e5cfd7
-	    <phrase condition="no_pam">SU_WHEEL_ONLY</phrase>
e5cfd7
-	    SYSLOG_SU_ENAB
e5cfd7
-	    <phrase condition="no_pam">USERGROUPS_ENAB</phrase>
e5cfd7
-	  </para>
e5cfd7
-	</listitem>
e5cfd7
-      </varlistentry>
e5cfd7
-      <varlistentry>
e5cfd7
-	<term>sulogin</term>
e5cfd7
-	<listitem>
e5cfd7
-	  <para>
e5cfd7
-	    ENV_HZ
e5cfd7
-	    <phrase condition="no_pam">ENV_TZ</phrase>
e5cfd7
-	  </para>
e5cfd7
-	</listitem>
e5cfd7
-      </varlistentry>
e5cfd7
       <varlistentry>
e5cfd7
 	<term>useradd</term>
e5cfd7
 	<listitem>
e5cfd7
Index: shadow-4.5/man/shadow.5.xml
e5cfd7
===================================================================
e5cfd7
--- shadow-4.5.orig/man/shadow.5.xml
e5cfd7
+++ shadow-4.5/man/shadow.5.xml
e5cfd7
@@ -129,7 +129,7 @@
e5cfd7
 	<listitem>
e5cfd7
 	  <para>
e5cfd7
 	    The date of the last password change, expressed as the number
e5cfd7
-	    of days since Jan 1, 1970.
e5cfd7
+	    of days since Jan 1, 1970 00:00 UTC.
e5cfd7
 	  </para>
e5cfd7
 	  <para>
e5cfd7
 	    The value 0 has a special meaning, which is that the user
e5cfd7
@@ -208,8 +208,8 @@
e5cfd7
 	  </para>
e5cfd7
 	  <para>
e5cfd7
 	    After expiration of the password and this expiration period is
e5cfd7
-	    elapsed, no login is possible using the current user's
e5cfd7
-	    password.  The user should contact her administrator.
e5cfd7
+	    elapsed, no login is possible for the user.
e5cfd7
+	    The user should contact her administrator.
e5cfd7
 	  </para>
e5cfd7
 	  <para>
e5cfd7
 	    An empty field means that there are no enforcement of an
e5cfd7
@@ -224,7 +224,7 @@
e5cfd7
 	<listitem>
e5cfd7
 	  <para>
e5cfd7
 	    The date of expiration of the account, expressed as the number
e5cfd7
-	    of days since Jan 1, 1970.
e5cfd7
+	    of days since Jan 1, 1970 00:00 UTC.
e5cfd7
 	  </para>
e5cfd7
 	  <para>
e5cfd7
 	    Note that an account expiration differs from a password
e5cfd7
Index: shadow-4.5/man/useradd.8.xml
e5cfd7
===================================================================
e5cfd7
--- shadow-4.5.orig/man/useradd.8.xml
e5cfd7
+++ shadow-4.5/man/useradd.8.xml
e5cfd7
@@ -347,6 +347,11 @@
e5cfd7
 	    <option>CREATE_HOME</option> is not enabled, no home
e5cfd7
 	    directories are created.
e5cfd7
 	  </para>
e5cfd7
+	  <para>
e5cfd7
+	    The directory where the user's home directory is created must
e5cfd7
+	    exist and have proper SELinux context and permissions. Otherwise
e5cfd7
+	    the user's home directory cannot be created or accessed.
e5cfd7
+	  </para>
e5cfd7
 	</listitem>
e5cfd7
       </varlistentry>
e5cfd7
       <varlistentry>
e5cfd7
Index: shadow-4.5/man/usermod.8.xml
e5cfd7
===================================================================
e5cfd7
--- shadow-4.5.orig/man/usermod.8.xml
e5cfd7
+++ shadow-4.5/man/usermod.8.xml
e5cfd7
@@ -132,7 +132,8 @@
e5cfd7
 	    If the <option>-m</option>
e5cfd7
 	    option is given, the contents of the current home directory will
e5cfd7
 	    be moved to the new home directory, which is created if it does
e5cfd7
-	    not already exist.
e5cfd7
+	    not already exist. If the current home directory does not exist
e5cfd7
+	    the new home directory will not be created.
e5cfd7
 	  </para>
e5cfd7
 	</listitem>
e5cfd7
       </varlistentry>
e5cfd7
@@ -256,7 +257,8 @@
e5cfd7
 	<listitem>
e5cfd7
 	  <para>
e5cfd7
 	    Move the content of the user's home directory to the new
e5cfd7
-	    location.
e5cfd7
+	    location. If the current home directory does not exist
e5cfd7
+	    the new home directory will not be created.
e5cfd7
 	  </para>
e5cfd7
 	  <para>
e5cfd7
 	    This option is only valid in combination with the
e5cfd7
diff --git a/man/login.defs.d/SUB_GID_COUNT.xml b/man/login.defs.d/SUB_GID_COUNT.xml
e5cfd7
index 01ace007..93fe7421 100644
e5cfd7
--- a/man/login.defs.d/SUB_GID_COUNT.xml
e5cfd7
+++ b/man/login.defs.d/SUB_GID_COUNT.xml
e5cfd7
@@ -42,7 +42,7 @@
e5cfd7
     <para>
e5cfd7
       The default values for <option>SUB_GID_MIN</option>,
e5cfd7
       <option>SUB_GID_MAX</option>, <option>SUB_GID_COUNT</option>
e5cfd7
-      are respectively 100000, 600100000 and 10000.
e5cfd7
+      are respectively 100000, 600100000 and 65536.
e5cfd7
     </para>
e5cfd7
   </listitem>
e5cfd7
 </varlistentry>
e5cfd7
diff --git a/man/login.defs.d/SUB_UID_COUNT.xml b/man/login.defs.d/SUB_UID_COUNT.xml
e5cfd7
index 5ad812f7..516417b7 100644
e5cfd7
--- a/man/login.defs.d/SUB_UID_COUNT.xml
e5cfd7
+++ b/man/login.defs.d/SUB_UID_COUNT.xml
e5cfd7
@@ -42,7 +42,7 @@
e5cfd7
     <para>
e5cfd7
       The default values for <option>SUB_UID_MIN</option>,
e5cfd7
       <option>SUB_UID_MAX</option>, <option>SUB_UID_COUNT</option>
e5cfd7
-      are respectively 100000, 600100000 and 10000.
e5cfd7
+      are respectively 100000, 600100000 and 65536.
e5cfd7
     </para>
e5cfd7
   </listitem>
e5cfd7
 </varlistentry>