{
    "mode": "man",
    "parameter": "UPDATE-SHELLS",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/UPDATE-SHELLS/8/json",
    "generated": "2026-06-13T21:55:41Z",
    "synopsis": "update-shells [options]",
    "sections": {
        "NAME": {
            "content": "update-shells - update the list of valid login shells\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "update-shells [options]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "update-shells  locates  the  shells provided by packages from /usr/share/debianutils/shells.d\nand updates /etc/shells with newly added or removed shells.  To track changes made by the ad‐\nministrator, it consults a state file in /var/lib/shells.state .\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "--no-act",
                    "content": "Do not actually perform the changes to /etc/shells .\n\n--root ROOT\n\nOperate on a chroot at ROOT .\n",
                    "long": "--no-act"
                },
                {
                    "name": "--verbose",
                    "content": "Print the shells that are being added or removed.\n",
                    "long": "--verbose"
                }
            ]
        },
        "FILES": {
            "content": "/etc/shells /var/lib/shells.state /usr/share/debianutils/shells.d\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "shells(5)\n\n\n\n28 Jun 2021                            UPDATE-SHELLS(8)",
            "subsections": []
        }
    },
    "summary": "update-shells - update the list of valid login shells",
    "flags": [
        {
            "flag": "",
            "long": "--no-act",
            "arg": null,
            "description": "Do not actually perform the changes to /etc/shells . --root ROOT Operate on a chroot at ROOT ."
        },
        {
            "flag": "",
            "long": "--verbose",
            "arg": null,
            "description": "Print the shells that are being added or removed."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "shells",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/shells/5/json"
        }
    ]
}