From bc6f364ba0675486d625a60e039f88493caeac2e Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Mon, 1 Mar 2010 22:58:52 +0100 Subject: [PATCH] =?UTF-8?q?[chgpass]=20D=C3=A9placement=20de=20cracklib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20100301215852-ffbb2-6843007b7816336a3c456c7e0710be96373a6d29.gz --- gestion/chgpass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/chgpass.py b/gestion/chgpass.py index e83855d0..5830bcb0 100644 --- a/gestion/chgpass.py +++ b/gestion/chgpass.py @@ -103,7 +103,7 @@ Il ne doit pas être basé sur un mot du dictionnaire.""", 'jaune') continue ## 4 - Cracklib - test = commands.getoutput("echo '%s' | /usr/sbin/crack_testlib" % mdp) + test = commands.getoutput("echo '%s' | /usr/sbin/cracklib-check" % mdp) if test.split(':')[-1] != ' ok' : commentaire = { ' it does not contain enough DIFFERENT characters': u'Il y a trop de caractères identiques.' ,