diff options
Diffstat (limited to 'patches-applied/007_modules_pam_unix')
-rw-r--r-- | patches-applied/007_modules_pam_unix | 4 |
1 files changed, 2 insertions, 2 deletions
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)) { |