README 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. pam_time — PAM module for time control access
  2. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  3. DESCRIPTION
  4. The pam_time PAM module does not authenticate the user, but instead it
  5. restricts access to a system and or specific applications at various times of
  6. the day and on specific days or over various terminal lines. This module can be
  7. configured to deny access to (individual) users based on their name, the time
  8. of day, the day of week, the service they are applying for and their terminal
  9. from which they are making their request.
  10. By default rules for time/port access are taken from config file /etc/security/
  11. time.conf. An alternative file can be specified with the conffile option.
  12. If Linux PAM is compiled with audit support the module will report when it
  13. denies access.
  14. EXAMPLES
  15. These are some example lines which might be specified in /etc/security/
  16. time.conf.
  17. All users except for root are denied access to console-login at all times:
  18. login ; tty* & !ttyp* ; !root ; !Al0000-2400
  19. Games (configured to use PAM) are only to be accessed out of working hours.
  20. This rule does not apply to the user waster:
  21. games ; * ; !waster ; Wd0000-2400 | Wk1800-0800