PAM_TIME(8) | Linux-PAM Manual | PAM_TIME(8) |
pam_time - PAM module for time control access
pam_time.so [conffile=conf-file] [debug] [noaudit]
The pam_time PAM module does not authenticate the user, but instead it restricts access to a system and or specific applications at various times of the day and on specific days or over various terminal lines. This module can be configured to deny access to (individual) users based on their name, the time of day, the day of week, the service they are applying for and their terminal from which they are making their request.
By default rules for time/port access are taken from config file /etc/security/time.conf. An alternative file can be specified with the conffile option.
If Linux PAM is compiled with audit support the module will report when it denies access.
conffile=/path/to/time.conf
debug
noaudit
Only the account type is provided.
PAM_SUCCESS
PAM_ABORT
PAM_BUF_ERR
PAM_PERM_DENIED
PAM_USER_UNKNOWN
/etc/security/time.conf
#%PAM-1.0 # # apply pam_time accounting to login requests # login account required pam_time.so
pam_time was written by Andrew G. Morgan <morgan@kernel.org>.
06/08/2020 | Linux-PAM Manual |