File shadow-4.1.5.1-bug935203-manpage.patch of Package shadow.427
From: Milisav Radmanic <radmanic@suse.com>
Date: 2015-07-28 15:42:42 +0200
Subject: Patch: Adds a comment to the man pages to mind that some settings are not evaluated if PAM is used
References: bnc#935203
Upstream: never
---
man/login.defs.5.xml | 4 ++++
man/login.defs.d/PASS_MAX_LEN.xml | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
Index: shadow-4.1.5.1/man/login.defs.5.xml
===================================================================
--- shadow-4.1.5.1.orig/man/login.defs.5.xml
+++ shadow-4.1.5.1/man/login.defs.5.xml
@@ -135,6 +135,10 @@
site-specific configuration for the shadow password suite. This file
is required. Absence of this file will not prevent system operation,
but will probably result in undesirable operation.
+ ATTENTION: In case you are using PAM for authentication some of the
+ parameters defined in <filename>/etc/login.defs</filename> are not
+ going to be evaluated and used. Instead settings defined in the
+ according PAM configuration are effective.
</para>
<para>
Index: shadow-4.1.5.1/man/login.defs.d/PASS_MAX_LEN.xml
===================================================================
--- shadow-4.1.5.1.orig/man/login.defs.d/PASS_MAX_LEN.xml
+++ shadow-4.1.5.1/man/login.defs.d/PASS_MAX_LEN.xml
@@ -37,7 +37,8 @@
<option>PASS_MAX_LEN</option> is 8 by default. Don't change unless
your crypt() is better. This is ignored if
<option>MD5_CRYPT_ENAB</option> set to
- <replaceable>yes</replaceable>.
+ <replaceable>yes</replaceable>. Please note: PASS_MAX_LEN and PASS_MIN_LEN are not processed, if
+ PAM is used for authentication.
</para>
</listitem>
</varlistentry>