Julien a écrit 1 commentaire

  • # Probleme Passwd

    Posté par  . En réponse au message Probleme Passwd. Évalué à 3.

    Voila merci j'ai trouvé. La reponse se trouve dans le fichier /etc/pam.d/common-password
    #
    #/etc/pam.d/common-password - password-related modules common to all services
    #
    
    # This file is included from other service-specific PAM config files,
    # and should contain a list of modules that define  the services to be
    #used to change user passwords.  The default is pam_unix
    
    # The "nullok" option allows users to change an empty password, else
    # empty passwords are treated as locked accounts.
    #
    # (Add `md5' after the module name to enable MD5 passwords)
    #
    # The "obscure" option replaces the old `OBSCURE_CHECKS_ENAB' option in
    # login.defs. Also the "min" and "max" options enforce the length of the
    # new password.
    
    
    # Config D'origine debian
    #password   required   pam_unix.so nullok obscure min=4 max=8 md5
    
    # Config Julien 
    password   required   pam_unix.so nullok min=4 max=8 md5
    	# pas de verification de simplicité ni de comparaison avec le old password
    
    # Alternate strength checking for password. Note that this
    # requires the libpam-cracklib package to be installed.
    # You will need to comment out the password line above and
    # uncomment the next two in order to use this.
    # (Replaces the `OBSCURE_CHECKS_ENAB', `CRACKLIB_DICTPATH')
    #
    # password required	  pam_cracklib.so retry=3 minlen=6 difok=3
    # password required	  pam_unix.so use_authtok nullok md5
    
    Comme vous pouvez le voir, j'ai juste eu a enlever l'option "obscure" et sa marche. J'espere que cela n'aidera pas seulement moi ...