{
    "mode": "man",
    "parameter": "pam_access",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/pam_access/8/json",
    "generated": "2026-06-15T13:39:46Z",
    "synopsis": "pamaccess.so [debug] [nodefgroup] [noaudit] [accessfile=file] [fieldsep=sep] [listsep=sep]",
    "sections": {
        "NAME": {
            "content": "pamaccess - PAM module for logdaemon style login access control\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pamaccess.so [debug] [nodefgroup] [noaudit] [accessfile=file] [fieldsep=sep] [listsep=sep]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The pamaccess PAM module is mainly for access management. It provides logdaemon style login\naccess control based on login names, host or domain names, internet addresses or network\nnumbers, or on terminal line names, X $DISPLAY values, or PAM service names in case of\nnon-networked logins.\n\nBy default rules for access management are taken from config file /etc/security/access.conf\nif you don't specify another file. Then individual *.conf files from the\n/etc/security/access.d/ directory are read. The files are parsed one after another in the\norder of the system locale. The effect of the individual files is the same as if all the\nfiles were concatenated together in the order of parsing. This means that once a pattern is\nmatched in some file no further files are parsed. If a config file is explicitly specified\nwith the accessfile option the files in the above directory are not parsed.\n\nIf Linux PAM is compiled with audit support the module will report when it denies access\nbased on origin (host, tty, etc.).\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "accessfile=/path/to/access.conf\nIndicate an alternative access.conf style configuration file to override the default.\nThis can be useful when different services need different access lists.\n",
            "subsections": [
                {
                    "name": "debug",
                    "content": "A lot of debug information is printed with syslog(3).\n"
                },
                {
                    "name": "noaudit",
                    "content": "Do not report logins from disallowed hosts and ttys to the audit subsystem.\n\nfieldsep=separators\nThis option modifies the field separator character that pamaccess will recognize when\nparsing the access configuration file. For example: fieldsep=| will cause the default `:'\ncharacter to be treated as part of a field value and `|' becomes the field separator.\nDoing this may be useful in conjunction with a system that wants to use pamaccess with X\nbased applications, since the PAMTTY item is likely to be of the form \"hostname:0\" which\nincludes a `:' character in its value. But you should not need this.\n\nlistsep=separators\nThis option modifies the list separator character that pamaccess will recognize when\nparsing the access configuration file. For example: listsep=, will cause the default ` '\n(space) and `\\t' (tab) characters to be treated as part of a list element value and `,'\nbecomes the only list element separator. Doing this may be useful on a system with group\ninformation obtained from a Windows domain, where the default built-in groups \"Domain\nUsers\", \"Domain Admins\" contain a space.\n"
                },
                {
                    "name": "nodefgroup",
                    "content": "User tokens which are not enclosed in parentheses will not be matched against the group\ndatabase. The backwards compatible default is to try the group database match even for\ntokens not enclosed in parentheses.\n"
                }
            ]
        },
        "MODULE TYPES PROVIDED": {
            "content": "All module types (auth, account, password and session) are provided.\n",
            "subsections": []
        },
        "RETURN VALUES": {
            "content": "PAMSUCCESS\nAccess was granted.\n\nPAMPERMDENIED\nAccess was not granted.\n\nPAMIGNORE\npamsetcred was called which does nothing.\n\nPAMABORT\nNot all relevant data or options could be gotten.\n\nPAMUSERUNKNOWN\nThe user is not known to the system.\n",
            "subsections": []
        },
        "FILES": {
            "content": "/etc/security/access.conf\nDefault configuration file\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "access.conf(5), pam.d(5), pam(7).\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "The logdaemon style login access control scheme was designed and implemented by Wietse\nVenema. The pamaccess PAM module was developed by Alexei Nogin <alexei@nogin.dnttm.ru>. The\nIPv6 support and the network(address) / netmask feature was developed and provided by Mike\nBecher <mike.becher@lrz-muenchen.de>.\n\n\n\nLinux-PAM Manual                             06/08/2020                                PAMACCESS(8)",
            "subsections": []
        }
    },
    "summary": "pamaccess - PAM module for logdaemon style login access control",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "access.conf",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/access.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"
        }
    ]
}