Commit bc6f364b authored by Nicolas Dandrimont's avatar Nicolas Dandrimont

[chgpass] Déplacement de cracklib

darcs-hash:20100301215852-ffbb2-6843007b7816336a3c456c7e0710be96373a6d29.gz
parent 3c09e7ff
......@@ -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.' ,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment