pam_time(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | MODULE TYPES PROVIDED | RETURN VALUES | FILES | EXAMPLES | SEE ALSO | AUTHOR | COLOPHON

PAM_TIME(8)                 Linux-PAM Manual                 PAM_TIME(8)

NAME         top

       pam_time - PAM module for time control access

SYNOPSIS         top

       pam_time.so [debug] [noaudit]

DESCRIPTION         top

       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.

       If Linux PAM is compiled with audit support the module will
       report when it denies access.

OPTIONS         top

       debug
           Some debug information is printed with syslog(3).

       noaudit
           Do not report logins at disallowed time to the audit
           subsystem.

MODULE TYPES PROVIDED         top

       Only the account type is provided.

RETURN VALUES         top

       PAM_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         top

       /etc/security/time.conf
           Default configuration file

EXAMPLES         top

           #%PAM-1.0
           #
           # apply pam_time accounting to login requests
           #
           login  account  required  pam_time.so

SEE ALSO         top

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

AUTHOR         top

       pam_time was written by Andrew G. Morgan <morgan@kernel.org>.

COLOPHON         top

       This page is part of the linux-pam (Pluggable Authentication
       Modules for Linux) project.  Information about the project can be
       found at ⟨http://www.linux-pam.org/⟩.  If you have a bug report
       for this manual page, see ⟨//www.linux-pam.org/⟩.  This page was
       obtained from the tarball Linux-PAM-1.3.0.tar.bz2 fetched from
       ⟨http://www.linux-pam.org/library/⟩ on 2021-04-01.  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to man-pages@man7.org

Linux-PAM Manual               04/01/2016                    PAM_TIME(8)

Pages that refer to this page: time.conf(5)