Section: Linux-PAM Manual (8)
Return to Main Contents
pam_time - PAM module for time control access
pam_time.so [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
If Linux PAM is compiled with audit support the module will report when it denies access.
Some debug information is printed with
Do not report logins at disallowed time to the audit subsystem.
MODULE TYPES PROVIDED
type is provided.
Access was granted.
Not all relevant data could be gotten.
Memory buffer error.
Access was not granted.
The user is not known to the system.
Default configuration file
# apply pam_time accounting to login requests
login account required pam_time.so
pam_time was written by Andrew G. Morgan <firstname.lastname@example.org>.
- MODULE TYPES PROVIDED
- RETURN VALUES
- SEE ALSO