{
    "content": [
        {
            "type": "text",
            "text": "# setuidgid (man)\n\n## NAME\n\nsetuidgid - runs another program under a specified account's uid and gid.\n\n## SYNOPSIS\n\nsetuidgid account child\n\n## DESCRIPTION\n\naccount is a single argument.  child consists of one or more arguments.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **EXIT CODES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "setuidgid",
        "section": "",
        "mode": "man",
        "summary": "setuidgid - runs another program under a specified account's uid and gid.",
        "synopsis": "setuidgid account child",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "supervise",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/supervise/8/json"
            },
            {
                "name": "svc",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/svc/8/json"
            },
            {
                "name": "svok",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/svok/8/json"
            },
            {
                "name": "svstat",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/svstat/8/json"
            },
            {
                "name": "svscanboot",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/svscanboot/8/json"
            },
            {
                "name": "svscan",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/svscan/8/json"
            },
            {
                "name": "readproctitle",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/readproctitle/8/json"
            },
            {
                "name": "fghack",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fghack/8/json"
            },
            {
                "name": "pgrphack",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/pgrphack/8/json"
            },
            {
                "name": "multilog",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/multilog/8/json"
            },
            {
                "name": "tai64n",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/tai64n/8/json"
            },
            {
                "name": "tai64nlocal",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/tai64nlocal/8/json"
            },
            {
                "name": "envuidgid",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/envuidgid/8/json"
            },
            {
                "name": "envdir",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/envdir/8/json"
            },
            {
                "name": "softlimit",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/softlimit/8/json"
            },
            {
                "name": "setlock",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/setlock/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "EXIT CODES",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 9,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "setuidgid - runs another program under a specified account's uid and gid.\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "setuidgid account child\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "account is a single argument.  child consists of one or more arguments.\n\nsetuidgid  sets  its uid and gid to account's uid and gid, removing all supplementary groups.\nIt then runs child.\n\nsetuidgid cannot be run by anyone other than root.\n",
                "subsections": []
            },
            "EXIT CODES": {
                "content": "setuidgid exits 111 if it cannot find a UNIX account named account, if it cannot  setgid,  if\nit  cannot setuid, or if it cannot run child.  Otherwise its exit code is the same as that of\nchild.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "supervise(8),  svc(8),  svok(8),  svstat(8),  svscanboot(8),   svscan(8),   readproctitle(8),\nfghack(8),  pgrphack(8),  multilog(8),  tai64n(8),  tai64nlocal(8),  envuidgid(8), envdir(8),\nsoftlimit(8), setlock(8)\n\nhttp://cr.yp.to/daemontools.html\n\n\n\nsetuidgid(8)",
                "subsections": []
            }
        }
    }
}