diff options
-rw-r--r-- | changelog | 5 | ||||
-rw-r--r-- | patches-applied/007_modules_pam_unix | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -32,8 +32,11 @@ pam (0.99.7.1-4) UNRELEASED; urgency=low 008_modules_pam_limits_chroot and 029_pam_limits_capabilites * Debconf translations: - Spanish, thanks to Javier Fernández-Sanguino Peña <jfs@debian.org> + * Updates to patch 007_modules_pam_unix: restore the same built-in min + password len of 6 that upstream uses; fix a typo panlindrome -> + palindrome. - -- Steve Langasek <vorlon@debian.org> Thu, 30 Aug 2007 17:13:44 -0700 + -- Steve Langasek <vorlon@debian.org> Fri, 31 Aug 2007 00:36:52 -0700 pam (0.99.7.1-3) unstable; urgency=low diff --git a/patches-applied/007_modules_pam_unix b/patches-applied/007_modules_pam_unix index 673d8220..c94abd7a 100644 --- a/patches-applied/007_modules_pam_unix +++ b/patches-applied/007_modules_pam_unix @@ -94,7 +94,7 @@ Index: Linux-PAM/modules/pam_unix/support.c #define SELINUX_ENABLED 0 #endif -+unsigned int pass_min_len = 1; ++unsigned int pass_min_len = 6; +unsigned int pass_max_len = 8; + /* this is a front-end for module-application conversations */ @@ -505,7 +505,7 @@ Index: Linux-PAM/modules/pam_unix/obscure.c + strcat (wrapped, oldmono); + + if (palindrome(oldmono, newmono)) { -+ msg = "Bad: new password cannot be a panlindrome"; ++ msg = "Bad: new password cannot be a palindrome"; + } else if (strcmp(oldmono, newmono) == 0) { + msg = "Bad: new and old password must differ by more than just case"; + } else if (similar(oldmono, newmono)) { |