{
    "content": [
        {
            "type": "text",
            "text": "# expiry (man)\n\n## NAME\n\nexpiry - check and enforce password expiration policy\n\n## SYNOPSIS\n\nexpiry option\n\n## DESCRIPTION\n\nThe expiry command checks (-c) the current password expiration and forces (-f) changes when\nrequired. It is callable as a normal user command.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (3 subsections)\n- **FILES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "expiry",
        "section": "",
        "mode": "man",
        "summary": "expiry - check and enforce password expiration policy",
        "synopsis": "expiry option",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-c",
                "long": "--check",
                "arg": null,
                "description": "Check the password expiration of the current user."
            },
            {
                "flag": "-f",
                "long": "--force",
                "arg": null,
                "description": "Force a password change if the current user has an expired password."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Display help message and exit."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "passwd",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/passwd/5/json"
            },
            {
                "name": "shadow",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/shadow/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 2,
                "subsections": [
                    {
                        "name": "-c --check",
                        "lines": 2,
                        "flag": "-c",
                        "long": "--check"
                    },
                    {
                        "name": "-f --force",
                        "lines": 2,
                        "flag": "-f",
                        "long": "--force"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            {
                "name": "FILES",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "expiry - check and enforce password expiration policy\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "expiry option\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The expiry command checks (-c) the current password expiration and forces (-f) changes when\nrequired. It is callable as a normal user command.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "The options which apply to the expiry command are:\n",
                "subsections": [
                    {
                        "name": "-c --check",
                        "content": "Check the password expiration of the current user.\n",
                        "flag": "-c",
                        "long": "--check"
                    },
                    {
                        "name": "-f --force",
                        "content": "Force a password change if the current user has an expired password.\n",
                        "flag": "-f",
                        "long": "--force"
                    },
                    {
                        "name": "-h --help",
                        "content": "Display help message and exit.\n",
                        "flag": "-h",
                        "long": "--help"
                    }
                ]
            },
            "FILES": {
                "content": "/etc/passwd\nUser account information.\n\n/etc/shadow\nSecure user account information.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "passwd(5), shadow(5).\n\n\n\nshadow-utils 4.8.1                           02/06/2024                                    EXPIRY(1)",
                "subsections": []
            }
        }
    }
}