home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / pam.d / common-password < prev    next >
Encoding:
Text File  |  2006-10-25  |  1.1 KB  |  28 lines

  1. #
  2. # /etc/pam.d/common-password - password-related modules common to all services
  3. #
  4. # This file is included from other service-specific PAM config files,
  5. # and should contain a list of modules that define  the services to be
  6. #used to change user passwords.  The default is pam_unix
  7.  
  8. # The "nullok" option allows users to change an empty password, else
  9. # empty passwords are treated as locked accounts.
  10. #
  11. # (Add `md5' after the module name to enable MD5 passwords)
  12. #
  13. # The "obscure" option replaces the old `OBSCURE_CHECKS_ENAB' option in
  14. # login.defs. Also the "min" and "max" options enforce the length of the
  15. # new password.
  16.  
  17. password   required   pam_unix.so nullok obscure min=4 max=8 md5
  18.  
  19. # Alternate strength checking for password. Note that this
  20. # requires the libpam-cracklib package to be installed.
  21. # You will need to comment out the password line above and
  22. # uncomment the next two in order to use this.
  23. # (Replaces the `OBSCURE_CHECKS_ENAB', `CRACKLIB_DICTPATH')
  24. #
  25. # password required      pam_cracklib.so retry=3 minlen=6 difok=3
  26. # password required      pam_unix.so use_authtok nullok md5
  27.  
  28.