Blame SOURCES/shadow-4.9-manfix.patch

b8f1b8
diff -up shadow-4.8.1/man/groupmems.8.xml.manfix shadow-4.8.1/man/groupmems.8.xml
b8f1b8
--- shadow-4.8.1/man/groupmems.8.xml.manfix	2020-03-17 15:34:48.750414984 +0100
b8f1b8
+++ shadow-4.8.1/man/groupmems.8.xml	2020-03-17 15:41:13.383588722 +0100
b8f1b8
@@ -179,20 +179,10 @@
b8f1b8
   <refsect1 id='setup'>
b8f1b8
     <title>SETUP</title>
b8f1b8
     <para>
b8f1b8
-      The <command>groupmems</command> executable should be in mode
b8f1b8
-      <literal>2710</literal> as user <emphasis>root</emphasis> and in group
b8f1b8
-      <emphasis>groups</emphasis>. The system administrator can add users to
b8f1b8
-      group <emphasis>groups</emphasis> to allow or disallow them using the
b8f1b8
-      <command>groupmems</command> utility to manage their own group
b8f1b8
-      membership list.
b8f1b8
+      In this operating system the <command>groupmems</command> executable
b8f1b8
+      is not setuid and regular users cannot use it to manipulate
b8f1b8
+      the membership of their own group.
b8f1b8
     </para>
b8f1b8
-
b8f1b8
-    <programlisting>
b8f1b8
-	$ groupadd -r groups
b8f1b8
-	$ chmod 2710 groupmems
b8f1b8
-	$ chown root.groups groupmems
b8f1b8
-	$ groupmems -g groups -a gk4
b8f1b8
-    </programlisting>
b8f1b8
   </refsect1>
b8f1b8
 
b8f1b8
   <refsect1 id='configuration'>
b8f1b8
diff -up shadow-4.8.1/man/ja/man5/login.defs.5.manfix shadow-4.8.1/man/ja/man5/login.defs.5
b8f1b8
--- shadow-4.8.1/man/ja/man5/login.defs.5.manfix	2019-07-23 17:26:08.000000000 +0200
b8f1b8
+++ shadow-4.8.1/man/ja/man5/login.defs.5	2020-03-17 15:34:48.750414984 +0100
b8f1b8
@@ -147,10 +147,6 @@ 以下の参照表は、
b8f1b8
 shadow パスワード機能のどのプログラムが
b8f1b8
 どのパラメータを使用するかを示したものである。
b8f1b8
 .na
b8f1b8
-.IP chfn 12
b8f1b8
-CHFN_AUTH CHFN_RESTRICT
b8f1b8
-.IP chsh 12
b8f1b8
-CHFN_AUTH
b8f1b8
 .IP groupadd 12
b8f1b8
 GID_MAX GID_MIN
b8f1b8
 .IP newusers 12
b8f1b8
diff -up shadow-4.8.1/man/login.defs.5.xml.manfix shadow-4.8.1/man/login.defs.5.xml
b8f1b8
--- shadow-4.8.1/man/login.defs.5.xml.manfix	2020-01-17 16:47:56.000000000 +0100
b8f1b8
+++ shadow-4.8.1/man/login.defs.5.xml	2020-03-17 15:34:48.750414984 +0100
b8f1b8
@@ -164,6 +164,17 @@
b8f1b8
       long numeric parameters is machine-dependent.
b8f1b8
     </para>
b8f1b8
 
b8f1b8
+    <para>
b8f1b8
+      Please note that the parameters in this configuration file control the
b8f1b8
+      behavior of the tools from the shadow-utils component. None of these
b8f1b8
+      tools uses the PAM mechanism, and the utilities that use PAM (such as the
b8f1b8
+      passwd command) should be configured elsewhere. The only values that
b8f1b8
+      affect PAM modules are <emphasis>ENCRYPT_METHOD</emphasis> and <emphasis>SHA_CRYPT_MAX_ROUNDS</emphasis>
b8f1b8
+      for pam_unix module, <emphasis>FAIL_DELAY</emphasis> for pam_faildelay module,
b8f1b8
+      and <emphasis>UMASK</emphasis> for pam_umask module. Refer to
b8f1b8
+      pam(8) for more information.
b8f1b8
+    </para>
b8f1b8
+
b8f1b8
     <para>The following configuration items are provided:</para>
b8f1b8
 
b8f1b8
     <variablelist remap='IP'>
b8f1b8
@@ -256,16 +267,6 @@
b8f1b8
 	</listitem>
b8f1b8
       </varlistentry>
b8f1b8
       <varlistentry>
b8f1b8
-	<term>chfn</term>
b8f1b8
-	<listitem>
b8f1b8
-	  <para>
b8f1b8
-	    <phrase condition="no_pam">CHFN_AUTH</phrase>
b8f1b8
-	    CHFN_RESTRICT
b8f1b8
-	    <phrase condition="no_pam">LOGIN_STRING</phrase>
b8f1b8
-	  </para>
b8f1b8
-	</listitem>
b8f1b8
-      </varlistentry>
b8f1b8
-      <varlistentry>
b8f1b8
 	<term>chgpasswd</term>
b8f1b8
 	<listitem>
b8f1b8
 	  <para>
b8f1b8
@@ -286,14 +287,6 @@
b8f1b8
 	  </para>
b8f1b8
 	</listitem>
b8f1b8
       </varlistentry>
b8f1b8
-      <varlistentry condition="no_pam">
b8f1b8
-	<term>chsh</term>
b8f1b8
-	<listitem>
b8f1b8
-	  <para>
b8f1b8
-	    CHSH_AUTH LOGIN_STRING
b8f1b8
-	  </para>
b8f1b8
-	</listitem>
b8f1b8
-      </varlistentry>
b8f1b8
       
b8f1b8
       
b8f1b8
       <varlistentry>
b8f1b8
@@ -359,34 +352,6 @@
b8f1b8
 	  <para>LASTLOG_UID_MAX</para>
b8f1b8
 	</listitem>
b8f1b8
       </varlistentry>
b8f1b8
-      <varlistentry>
b8f1b8
-	<term>login</term>
b8f1b8
-	<listitem>
b8f1b8
-	  <para>
b8f1b8
-	    <phrase condition="no_pam">CONSOLE</phrase>
b8f1b8
-	    CONSOLE_GROUPS DEFAULT_HOME
b8f1b8
-	    <phrase condition="no_pam">ENV_HZ ENV_PATH ENV_SUPATH
b8f1b8
-	    ENV_TZ ENVIRON_FILE</phrase>
b8f1b8
-	    ERASECHAR FAIL_DELAY
b8f1b8
-	    <phrase condition="no_pam">FAILLOG_ENAB</phrase>
b8f1b8
-	    FAKE_SHELL
b8f1b8
-	    <phrase condition="no_pam">FTMP_FILE</phrase>
b8f1b8
-	    HUSHLOGIN_FILE
b8f1b8
-	    <phrase condition="no_pam">ISSUE_FILE</phrase>
b8f1b8
-	    KILLCHAR
b8f1b8
-	    <phrase condition="no_pam">LASTLOG_ENAB LASTLOG_UID_MAX</phrase>
b8f1b8
-	    LOGIN_RETRIES
b8f1b8
-	    <phrase condition="no_pam">LOGIN_STRING</phrase>
b8f1b8
-	    LOGIN_TIMEOUT LOG_OK_LOGINS LOG_UNKFAIL_ENAB
b8f1b8
-	    <phrase condition="no_pam">MAIL_CHECK_ENAB MAIL_DIR MAIL_FILE
b8f1b8
-	    MOTD_FILE NOLOGINS_FILE PORTTIME_CHECKS_ENAB
b8f1b8
-	    QUOTAS_ENAB</phrase>
b8f1b8
-	    TTYGROUP TTYPERM TTYTYPE_FILE
b8f1b8
-	    <phrase condition="no_pam">ULIMIT UMASK</phrase>
b8f1b8
-	    USERGROUPS_ENAB
b8f1b8
-	  </para>
b8f1b8
-	</listitem>
b8f1b8
-      </varlistentry>
b8f1b8
       
b8f1b8
       <varlistentry>
b8f1b8
 	<term>newgrp / sg</term>
b8f1b8
@@ -415,17 +380,6 @@
b8f1b8
 	</listitem>
b8f1b8
       </varlistentry>
b8f1b8
       
b8f1b8
-      <varlistentry condition="no_pam">
b8f1b8
-	<term>passwd</term>
b8f1b8
-	<listitem>
b8f1b8
-	  <para>
b8f1b8
-	    ENCRYPT_METHOD MD5_CRYPT_ENAB OBSCURE_CHECKS_ENAB
b8f1b8
-	    PASS_ALWAYS_WARN PASS_CHANGE_TRIES PASS_MAX_LEN PASS_MIN_LEN
b8f1b8
-	    <phrase condition="sha_crypt">SHA_CRYPT_MAX_ROUNDS
b8f1b8
-	    SHA_CRYPT_MIN_ROUNDS</phrase>
b8f1b8
-	  </para>
b8f1b8
-	</listitem>
b8f1b8
-      </varlistentry>
b8f1b8
       <varlistentry>
b8f1b8
 	<term>pwck</term>
b8f1b8
 	<listitem>
b8f1b8
@@ -452,32 +406,6 @@
b8f1b8
 	  </para>
b8f1b8
 	</listitem>
b8f1b8
       </varlistentry>
b8f1b8
-      <varlistentry>
b8f1b8
-	<term>su</term>
b8f1b8
-	<listitem>
b8f1b8
-	  <para>
b8f1b8
-	    <phrase condition="no_pam">CONSOLE</phrase>
b8f1b8
-	    CONSOLE_GROUPS DEFAULT_HOME
b8f1b8
-	    <phrase condition="no_pam">ENV_HZ ENVIRON_FILE</phrase>
b8f1b8
-	    ENV_PATH ENV_SUPATH
b8f1b8
-	    <phrase condition="no_pam">ENV_TZ LOGIN_STRING MAIL_CHECK_ENAB
b8f1b8
-	    MAIL_DIR MAIL_FILE QUOTAS_ENAB</phrase>
b8f1b8
-	    SULOG_FILE SU_NAME
b8f1b8
-	    <phrase condition="no_pam">SU_WHEEL_ONLY</phrase>
b8f1b8
-	    SYSLOG_SU_ENAB
b8f1b8
-	    <phrase condition="no_pam">USERGROUPS_ENAB</phrase>
b8f1b8
-	  </para>
b8f1b8
-	</listitem>
b8f1b8
-      </varlistentry>
b8f1b8
-      <varlistentry>
b8f1b8
-	<term>sulogin</term>
b8f1b8
-	<listitem>
b8f1b8
-	  <para>
b8f1b8
-	    ENV_HZ
b8f1b8
-	    <phrase condition="no_pam">ENV_TZ</phrase>
b8f1b8
-	  </para>
b8f1b8
-	</listitem>
b8f1b8
-      </varlistentry>
b8f1b8
       <varlistentry>
b8f1b8
 	<term>useradd</term>
b8f1b8
 	<listitem>