{
    "content": [
        {
            "type": "text",
            "text": "# pam_warn (man)\n\n## NAME\n\npamwarn - PAM module which logs all PAM items if called\n\n## SYNOPSIS\n\npamwarn.so\n\n## DESCRIPTION\n\npamwarn is a PAM module that logs the service, terminal, user, remote user and remote host\nto syslog(3). The items are not probed for, but instead obtained from the standard PAM items.\nThe module always returns PAMIGNORE, indicating that it does not want to affect the\nauthentication process.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS**\n- **MODULE TYPES PROVIDED**\n- **RETURN VALUES**\n- **EXAMPLES**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pam_warn",
        "section": "",
        "mode": "man",
        "summary": "pamwarn - PAM module which logs all PAM items if called",
        "synopsis": "pamwarn.so",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [
            "#%PAM-1.0",
            "# If we don't have config entries for a service, the",
            "# OTHER entries are used. To be secure, warn and deny",
            "# access to everything.",
            "other auth     required       pamwarn.so",
            "other auth     required       pamdeny.so",
            "other account  required       pamwarn.so",
            "other account  required       pamdeny.so",
            "other password required       pamwarn.so",
            "other password required       pamdeny.so",
            "other session  required       pamwarn.so",
            "other session  required       pamdeny.so"
        ],
        "see_also": [
            {
                "name": "pam.conf",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pam.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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MODULE TYPES PROVIDED",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "RETURN VALUES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pamwarn - PAM module which logs all PAM items if called\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pamwarn.so\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "pamwarn is a PAM module that logs the service, terminal, user, remote user and remote host\nto syslog(3). The items are not probed for, but instead obtained from the standard PAM items.\nThe module always returns PAMIGNORE, indicating that it does not want to affect the\nauthentication process.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "This module does not recognise any options.\n",
                "subsections": []
            },
            "MODULE TYPES PROVIDED": {
                "content": "The auth, account, password and session module types are provided.\n",
                "subsections": []
            },
            "RETURN VALUES": {
                "content": "PAMIGNORE\nThis module always returns PAMIGNORE.\n",
                "subsections": []
            },
            "EXAMPLES": {
                "content": "#%PAM-1.0\n#\n# If we don't have config entries for a service, the\n# OTHER entries are used. To be secure, warn and deny\n# access to everything.\nother auth     required       pamwarn.so\nother auth     required       pamdeny.so\nother account  required       pamwarn.so\nother account  required       pamdeny.so\nother password required       pamwarn.so\nother password required       pamdeny.so\nother session  required       pamwarn.so\nother session  required       pamdeny.so\n\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pam.conf(5), pam.d(5), pam(7)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "pamwarn was written by Andrew G. Morgan <morgan@kernel.org>.\n\n\n\nLinux-PAM Manual                             06/08/2020                                  PAMWARN(8)",
                "subsections": []
            }
        }
    }
}