system-auth 1.1 KB

123456789101112131415161718192021222324
  1. #%PAM-1.0
  2. auth required pam_faillock.so preauth
  3. # Optionally use requisite above if you do not want to prompt for the password
  4. # on locked accounts.
  5. auth [success=1 default=ignore] pam_unix.so try_first_pass nullok
  6. auth [default=die] pam_faillock.so authfail
  7. auth optional pam_permit.so
  8. auth required pam_env.so
  9. auth required pam_faillock.so authsucc
  10. # If you drop the above call to pam_faillock.so the lock will be done also
  11. # on non-consecutive authentication failures.
  12. account required pam_unix.so
  13. account optional pam_permit.so
  14. account required pam_time.so
  15. password required pam_unix.so try_first_pass nullok shadow sha512
  16. password optional pam_permit.so
  17. session required pam_limits.so
  18. session required pam_unix.so
  19. session optional pam_permit.so