{
    "mode": "man",
    "parameter": "PAM_TIME",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/PAM_TIME/8/json",
    "generated": "2026-06-15T18:50:52Z",
    "synopsis": "pamtime.so [conffile=conf-file] [debug] [noaudit]",
    "sections": {
        "NAME": {
            "content": "pamtime - PAM module for time control access\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pamtime.so [conffile=conf-file] [debug] [noaudit]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The pamtime PAM module does not authenticate the user, but instead it restricts access to a\nsystem and or specific applications at various times of the day and on specific days or over\nvarious terminal lines. This module can be configured to deny access to (individual) users\nbased on their name, the time of day, the day of week, the service they are applying for and\ntheir terminal from which they are making their request.\n\nBy default rules for time/port access are taken from config file /etc/security/time.conf. An\nalternative file can be specified with the conffile option.\n\nIf Linux PAM is compiled with audit support the module will report when it denies access.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "conffile=/path/to/time.conf",
                    "content": "Indicate an alternative time.conf style configuration file to override the default.\n"
                },
                {
                    "name": "debug",
                    "content": "Some debug information is printed with syslog(3).\n"
                },
                {
                    "name": "noaudit",
                    "content": "Do not report logins at disallowed time to the audit subsystem.\n"
                }
            ]
        },
        "MODULE TYPES PROVIDED": {
            "content": "Only the account type is provided.\n",
            "subsections": []
        },
        "RETURN VALUES": {
            "content": "PAMSUCCESS\nAccess was granted.\n\nPAMABORT\nNot all relevant data could be gotten.\n\nPAMBUFERR\nMemory buffer error.\n\nPAMPERMDENIED\nAccess was not granted.\n\nPAMUSERUNKNOWN\nThe user is not known to the system.\n",
            "subsections": []
        },
        "FILES": {
            "content": "/etc/security/time.conf\nDefault configuration file\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "#%PAM-1.0\n#\n# apply pamtime accounting to login requests\n#\nlogin  account  required  pamtime.so\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "time.conf(5), pam.d(5), pam(7).\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "pamtime was written by Andrew G. Morgan <morgan@kernel.org>.\n\n\n\nLinux-PAM Manual                             06/08/2020                                  PAMTIME(8)",
            "subsections": []
        }
    },
    "summary": "pamtime - PAM module for time control access",
    "flags": [],
    "examples": [
        "#%PAM-1.0",
        "# apply pamtime accounting to login requests",
        "login  account  required  pamtime.so"
    ],
    "see_also": [
        {
            "name": "time.conf",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/time.conf/5/json"
        },
        {
            "name": "pam.d",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/pam.d/5/json"
        },
        {
            "name": "pam",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/pam/7/json"
        }
    ]
}