You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.1 KiB

  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. # Explanation of pam_unix options:
  8. #
  9. # The "sha512" option enables salted SHA512 passwords. Without this option,
  10. # the default is Unix crypt. Prior releases used the option "md5".
  11. #
  12. # The "obscure" option replaces the old `OBSCURE_CHECKS_ENAB' option in
  13. # login.defs.
  14. #
  15. # See the pam_unix manpage for other options.
  16. # here are the per-package modules (the "Primary" block)
  17. password [success=1 default=ignore] pam_unix.so obscure sha512
  18. # here's the fallback if no module succeeds
  19. password requisite pam_deny.so
  20. # prime the stack with a positive return value if there isn't one already;
  21. # this avoids us returning an error just because nothing sets a success code
  22. # since the modules above will each just jump around
  23. password required pam_permit.so
  24. # and here are more per-package modules (the "Additional" block)
  25. # end of pam-auth-update config