[Pkg-shadow-devel] Bug#87301: Patch to fix this documentation bug

Christian Perrier Christian Perrier <bubulle@debian.org>, 87301@bugs.debian.org
Fri, 22 Apr 2005 18:11:32 +0200


--ghzN8eJ9Qlbqn3iT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

retitle 87301 [POST-SARGE] [CHRISTIAN] Inappropiate default for PASS_MAX_LEN when MD5 used
tags 87301 patch
thanks

The attached patch moves the PASS_MAX_LEN line to the end of the
login.defs file, commented, in the "obsoleted by PAM" section, as
Nicolas clearly demonstrated that this value is only used when PAM is
not used.


-- 



--ghzN8eJ9Qlbqn3iT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

--- debian/login.defs	2005-03-20 15:48:28.000000000 +0100
+++ debian/login.defs.new	2005-04-22 18:08:43.000000000 +0200
@@ -204,13 +204,6 @@
 LOGIN_TIMEOUT		60
 
 #
-# Number of significant characters in the password for crypt().
-# Default is 8, don't change unless your crypt() is better.
-# If using MD5 in your PAM configuration, set this higher.
-#
-PASS_MAX_LEN		8
-
-#
 # Require password before chfn/chsh can make any changes.
 #
 CHFN_AUTH		yes
@@ -322,3 +315,4 @@
 #NOLOGINS_FILE
 #ISSUE_FILE
 #PASS_MIN_LEN
+#PASS_MAX_LEN

--ghzN8eJ9Qlbqn3iT--