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 [conffile=conf-file] [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. An alternative file can be specified with the
22       conffile option.
23
24       If Linux PAM is compiled with audit support the module will report when
25       it denies access.
26

OPTIONS

28       conffile=/path/to/time.conf
29           Indicate an alternative time.conf style configuration file to
30           override the default.
31
32       debug
33           Some debug information is printed with syslog(3).
34
35       noaudit
36           Do not report logins at disallowed time to the audit subsystem.
37

MODULE TYPES PROVIDED

39       Only the account type is provided.
40

RETURN VALUES

42       PAM_SUCCESS
43           Access was granted.
44
45       PAM_ABORT
46           Not all relevant data could be gotten.
47
48       PAM_BUF_ERR
49           Memory buffer error.
50
51       PAM_PERM_DENIED
52           Access was not granted.
53
54       PAM_USER_UNKNOWN
55           The user is not known to the system.
56

FILES

58       /etc/security/time.conf
59           Default configuration file
60

EXAMPLES

62           #%PAM-1.0
63           #
64           # apply pam_time accounting to login requests
65           #
66           login  account  required  pam_time.so
67
68

SEE ALSO

70       time.conf(5), pam.d(5), pam(8).
71

AUTHOR

73       pam_time was written by Andrew G. Morgan <morgan@kernel.org>.
74
75
76
77Linux-PAM Manual                  11/25/2020                       PAM_TIME(8)
Impressum