Project

General

Profile

Evolution #7527

Report des modifications liées aux mots de passe sur 2.4

Added by Joël Cuissinat over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
Due date:
03/07/2014
% Done:

100%

Estimated time:
1.50 h
Spent time:
Distribution:
EOLE 2.4

Description

  1. fonction check_nb_min_classes
  2. script checkpassword

Je vois également se pointer des problèmes liés au mode conteneur/non conteneur ...


Related issues

Related to eole-fichier - Evolution #7363: Reporter (et adapter) les modifications liées à la complexité des mots de passe utilisateurs sur 2.4 Fermé 03/07/2014

Associated revisions

Revision 93f90bf0 (diff)
Added by Joël Cuissinat over 7 years ago

Report des modifications liées aux mots de passe

  • fichier/passwd.py : ajout de la fonction "check_nb_min_classes"
  • scripts/checkpassword : ajout du script (compatible 2.4)
  • setup.py : prise en compte du script checkpassword

Fixes #7527 @45m

Revision 220468b0 (diff)
Added by Joël Cuissinat over 7 years ago

Suppression de dépendances facultatives sur le maître

Ref #7527 @20m

History

#1 Updated by Joël Cuissinat over 7 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#2 Updated by Emmanuel GARETTE over 7 years ago

  • Status changed from Résolu to Fermé

Le script ne sert qu'a vérifier le nombre de classe.

Pour moi c'est OK :

root@scribe:~# CreoleSet smb_min_password_class 1
root@scribe:~# echo "aaa" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
OK
root@scribe:~# echo "111" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
OK
root@scribe:~# echo "%%%" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
OK
root@scribe:~# echo "aa1" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
OK
root@scribe:~# echo "aa%" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
OK
root@scribe:~# echo "11%" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
OK
root@scribe:~# echo "a1%" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
OK

root@scribe:~# CreoleSet smb_min_password_class 2
root@scribe:~# echo "aaa" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
NOK
root@scribe:~# echo "111" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
NOK
root@scribe:~# echo "%%%" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
NOK
root@scribe:~# echo "aa1" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
OK
root@scribe:~# echo "aa%" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
OK
root@scribe:~# echo "11%" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
OK
root@scribe:~# echo "a1%" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
OK

root@scribe:~# CreoleSet smb_min_password_class 3
root@scribe:~# echo "aaa" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
NOK
root@scribe:~# echo "111" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
NOK
root@scribe:~# echo "%%%" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
NOK
root@scribe:~# echo "aa1" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
NOK
root@scribe:~# echo "aa%" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
NOK
root@scribe:~# echo "11%" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
NOK
root@scribe:~# echo "a1%" | /usr/share/eole/fichier/checkpassword && echo "OK" || echo "NOK" 
OK

Also available in: Atom PDF