]> granicus.if.org Git - linux-pam/blob - modules/pam_time/README
Relevant BUGIDs:
[linux-pam] / modules / pam_time / README
1 pam_time — PAM module for time control access
2
3 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
4
5 DESCRIPTION
6
7 The pam_time PAM module does not authenticate the user, but instead it
8 restricts access to a system and or specific applications at various times of
9 the day and on specific days or over various terminal lines. This module can be
10 configured to deny access to (individual) users based on their name, the time
11 of day, the day of week, the service they are applying for and their terminal
12 from which they are making their request.
13
14 By default rules for time/port access are taken from config file /etc/security/
15 time.conf.
16
17 EXAMPLES
18
19 These are some example lines which might be specified in /etc/security/
20 time.conf.
21
22 All users except for root are denied access to console-login at all times:
23
24 login ; tty* & !ttyp* ; !root ; !Al0000-2400
25
26
27 Games (configured to use PAM) are only to be accessed out of working hours.
28 This rule does not apply to the user waster:
29
30
31 games ; * ; !waster ; Wd0000-2400 | Wk1800-0800
32
33