pam_time8Linux-PAM Manualpam_time
PAM module for time control access
pam_time.soDESCRIPTION
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.
OPTIONSThis module does not recognice any options.MODULE SERVICES PROVIDED
Only the service is supported.
RETURN VALUESPAM_SUCCESS
Access was granted.
PAM_ABORT
Not all relevant data could be gotten.
PAM_BUF_ERR
Memory buffer error.
PAM_PERM_DENIED
Access was not granted.
PAM_USER_UNKNOWN
The user is not known to the system.
FILES/etc/security/time.confDefault configuration fileEXAMPLES
#%PAM-1.0
#
# apply pam_time accounting to login requests
#
login account required pam_time.so
SEE ALSOtime.conf5,
pam.d8,
pam8.
AUTHOR
pam_time was written by Andrew G. Morgan <morgan@kernel.org>.