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