[chgpass] Déplacement de cracklib
darcs-hash:20100301215852-ffbb2-6843007b7816336a3c456c7e0710be96373a6d29.gz
This commit is contained in:
parent
3c09e7ffc2
commit
bc6f364ba0
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ Il ne doit pas être basé sur un mot du dictionnaire.""", 'jaune')
|
||||||
continue
|
continue
|
||||||
|
|
||||||
## 4 - Cracklib
|
## 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' :
|
if test.split(':')[-1] != ' ok' :
|
||||||
commentaire = {
|
commentaire = {
|
||||||
' it does not contain enough DIFFERENT characters': u'Il y a trop de caractères identiques.' ,
|
' it does not contain enough DIFFERENT characters': u'Il y a trop de caractères identiques.' ,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue