{
    "content": [
        {
            "type": "text",
            "text": "# runcon(1) (man)\n\n**Summary:** runcon - run command with specified security context\n\n**Synopsis:** runcon CONTEXT COMMAND [args]\nruncon [ -c ] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -c | --compute | — | compute process transition context before modifying |\n| -t | --type | — | type (for same role as parent) |\n| -u | --user | — | user identity |\n| -r | --role | — | role |\n| -l | --range | — | levelrange --help display this help and exit |\n| — | --version | — | output version information and exit |\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (16 lines) — 6 subsections\n  - -c --compute (2 lines)\n  - -t --type (2 lines)\n  - -u --user (2 lines)\n  - -r --role (2 lines)\n  - -l --range (4 lines)\n  - --version (2 lines)\n- **AUTHOR** (2 lines)\n- **REPORTING BUGS** (3 lines)\n- **COPYRIGHT** (5 lines)\n- **SEE ALSO** (6 lines)\n\n## Full Content\n\n### NAME\n\nruncon - run command with specified security context\n\n### SYNOPSIS\n\nruncon CONTEXT COMMAND [args]\nruncon [ -c ] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]\n\n### DESCRIPTION\n\nRun  COMMAND with completely-specified CONTEXT, or with current or transitioned security con‐\ntext modified by one or more of LEVEL, ROLE, TYPE, and USER.\n\nIf none of -c, -t, -u, -r, or -l, is specified, the first argument is used  as  the  complete\ncontext.  Any additional arguments after COMMAND are interpreted as arguments to the command.\n\nNote that only carefully-chosen contexts are likely to successfully run.\n\nRun  a  program  in  a different SELinux security context.  With neither CONTEXT nor COMMAND,\nprint the current security context.\n\nMandatory arguments to long options are mandatory for short options too.\n\nCONTEXT\nComplete security context\n\n#### -c --compute\n\ncompute process transition context before modifying\n\n#### -t --type\n\ntype (for same role as parent)\n\n#### -u --user\n\nuser identity\n\n#### -r --role\n\nrole\n\n#### -l --range\n\nlevelrange\n\n--help display this help and exit\n\n#### --version\n\noutput version information and exit\n\n### AUTHOR\n\nWritten by Russell Coker.\n\n### REPORTING BUGS\n\nGNU coreutils online help: <https://www.gnu.org/software/coreutils/>\nReport any translation bugs to <https://translationproject.org/team/>\n\n### COPYRIGHT\n\nCopyright © 2020 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3  or  later\n<https://gnu.org/licenses/gpl.html>.\nThis  is free software: you are free to change and redistribute it.  There is NO WARRANTY, to\nthe extent permitted by law.\n\n### SEE ALSO\n\nFull documentation <https://www.gnu.org/software/coreutils/runcon>\nor available locally via: info '(coreutils) runcon invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                   RUNCON(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "runcon",
        "section": "1",
        "mode": "man",
        "summary": "runcon - run command with specified security context",
        "synopsis": "runcon CONTEXT COMMAND [args]\nruncon [ -c ] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]",
        "flags": [
            {
                "flag": "-c",
                "long": "--compute",
                "arg": null,
                "description": "compute process transition context before modifying"
            },
            {
                "flag": "-t",
                "long": "--type",
                "arg": null,
                "description": "type (for same role as parent)"
            },
            {
                "flag": "-u",
                "long": "--user",
                "arg": null,
                "description": "user identity"
            },
            {
                "flag": "-r",
                "long": "--role",
                "arg": null,
                "description": "role"
            },
            {
                "flag": "-l",
                "long": "--range",
                "arg": null,
                "description": "levelrange --help display this help and exit"
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit"
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 16,
                "subsections": [
                    {
                        "name": "-c --compute",
                        "lines": 2,
                        "flag": "-c",
                        "long": "--compute"
                    },
                    {
                        "name": "-t --type",
                        "lines": 2,
                        "flag": "-t",
                        "long": "--type"
                    },
                    {
                        "name": "-u --user",
                        "lines": 2,
                        "flag": "-u",
                        "long": "--user"
                    },
                    {
                        "name": "-r --role",
                        "lines": 2,
                        "flag": "-r",
                        "long": "--role"
                    },
                    {
                        "name": "-l --range",
                        "lines": 4,
                        "flag": "-l",
                        "long": "--range"
                    },
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}