1PAM_TIME(8)                    Linux-PAM Manual                    PAM_TIME(8)
2
3
4

NAME

6       pam_time - PAM module for time control access
7

SYNOPSIS

9       pam_time.so [debug] [noaudit]
10

DESCRIPTION

12       The pam_time PAM module does not authenticate the user, but instead it
13       restricts access to a system and or specific applications at various
14       times of the day and on specific days or over various terminal lines.
15       This module can be configured to deny access to (individual) users
16       based on their name, the time of day, the day of week, the service they
17       are applying for and their terminal from which they are making their
18       request.
19
20       By default rules for time/port access are taken from config file
21       /etc/security/time.conf.
22
23       If Linux PAM is compiled with audit support the module will report when
24       it denies access.
25

OPTIONS

27       debug
28           Some debug information is printed with syslog(3).
29
30       noaudit
31           Do not report logins at disallowed time to the audit subsystem.
32

MODULE TYPES PROVIDED

34       Only the account type is provided.
35

RETURN VALUES

37       PAM_SUCCESS
38           Access was granted.
39
40       PAM_ABORT
41           Not all relevant data could be gotten.
42
43       PAM_BUF_ERR
44           Memory buffer error.
45
46       PAM_PERM_DENIED
47           Access was not granted.
48
49       PAM_USER_UNKNOWN
50           The user is not known to the system.
51

FILES

53       /etc/security/time.conf
54           Default configuration file
55

EXAMPLES

57           #%PAM-1.0
58           #
59           # apply pam_time accounting to login requests
60           #
61           login  account  required  pam_time.so
62
63

SEE ALSO

65       time.conf(5), pam.d(5), pam(8).
66

AUTHOR

68       pam_time was written by Andrew G. Morgan <morgan@kernel.org>.
69
70
71
72Linux-PAM Manual                  05/18/2017                       PAM_TIME(8)
Impressum