{
    "mode": "man",
    "parameter": "add-shell",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/add-shell/8/json",
    "generated": "2026-06-15T13:38:56Z",
    "synopsis": "add-shell shellname [shellname...]",
    "sections": {
        "NAME": {
            "content": "add-shell - add shells to the list of valid login shells\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "add-shell shellname [shellname...]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "add-shell  copies  /etc/shells to /etc/shells.tmp, adds the given shells to this file if they\nare not already present, and copies this temporary file back to /etc/shells.\n\nThe shells must be provided by their full pathnames.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "shells(5)\n\n\n\n12 May 2011                                ADD-SHELL(8)",
            "subsections": []
        }
    },
    "summary": "add-shell - add shells to the list of valid login shells",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "shells",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/shells/5/json"
        },
        {
            "name": "ADD-SHELL",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/ADD-SHELL/8/json"
        }
    ]
}