aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2004-02-14 19:19:39 +0000
committerFrederic Lepied <flepied@mandriva.com>2004-02-14 19:19:39 +0000
commit0801baae23e245f8d5272bfcad44f2a028b935be (patch)
tree916c0878962fc236c1eb69e5c90c7dc3a1dc8eb7 /share
parenteca836aeb57266069f7b3f0e90a94e6dc648f065 (diff)
downloadmsec-0801baae23e245f8d5272bfcad44f2a028b935be.tar
msec-0801baae23e245f8d5272bfcad44f2a028b935be.tar.gz
msec-0801baae23e245f8d5272bfcad44f2a028b935be.tar.bz2
msec-0801baae23e245f8d5272bfcad44f2a028b935be.tar.xz
msec-0801baae23e245f8d5272bfcad44f2a028b935be.zip
fixed system-auth growing line forever (bug #7853) (Michael Scherer)
Diffstat (limited to 'share')
-rw-r--r--share/libmsec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/libmsec.py b/share/libmsec.py
index 593429d..d15ce3e 100644
--- a/share/libmsec.py
+++ b/share/libmsec.py
@@ -964,7 +964,7 @@ enable_libsafe.arg_trans = YES_NO_TRANS
################################################################################
-LENGTH_REGEXP = re.compile('^(password\s+required\s+/lib/security/pam_cracklib.so.*?)\sminlen=([0-9]+)\s(.*)')
+LENGTH_REGEXP = re.compile('^(password\s+required\s+(?:/lib/security/)?pam_cracklib.so.*?)\sminlen=([0-9]+)\s(.*)')
NDIGITS_REGEXP = re.compile('^(password\s+required\s+(?:/lib/security/)?pam_cracklib.so.*?)\sdcredit=([0-9]+)\s(.*)')
UCREDIT_REGEXP = re.compile('^(password\s+required\s+(?:/lib/security/)?pam_cracklib.so.*?)\sucredit=([0-9]+)\s(.*)')