README 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. pam_timestamp — Authenticate using cached successful authentication attempts
  2. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  3. DESCRIPTION
  4. In a nutshell, pam_timestamp caches successful authentication attempts, and
  5. allows you to use a recent successful attempt as the basis for authentication.
  6. This is similar mechanism which is used in sudo.
  7. When an application opens a session using pam_timestamp, a timestamp file is
  8. created in the timestampdir directory for the user. When an application
  9. attempts to authenticate the user, a pam_timestamp will treat a sufficiently
  10. recent timestamp file as grounds for succeeding.
  11. The default encryption hash is taken from the HMAC_CRYPTO_ALGO variable from /
  12. etc/login.defs.
  13. OPTIONS
  14. timestampdir=directory
  15. Specify an alternate directory where pam_timestamp creates timestamp files.
  16. timestamp_timeout=number
  17. How long should pam_timestamp treat timestamp as valid after their last
  18. modification date (in seconds). Default is 300 seconds.
  19. verbose
  20. Attempt to inform the user when access is granted.
  21. debug
  22. Turns on debugging messages sent to syslog(3).
  23. NOTES
  24. Users can get confused when they are not always asked for passwords when
  25. running a given program. Some users reflexively begin typing information before
  26. noticing that it is not being asked for.
  27. EXAMPLES
  28. auth sufficient pam_timestamp.so verbose
  29. auth required pam_unix.so
  30. session required pam_unix.so
  31. session optional pam_timestamp.so
  32. AUTHOR
  33. pam_timestamp was written by Nalin Dahyabhai.