RUNCON(1)
π RUNCON(1) β the runcon glow-up π
okay so bestie, welcome to runcon, the General Commands Manual girlie who runs your command with a specified security context on SELinux-enabled systems. she's niche, she's powerful, she's giving main character energy in a very specific way β¨
πΈ NAME πΈ
runcon β run a command with a specified security context on SELinux-enabled systems. no cap, that's literally her whole thing π
π SYNOPSIS π
runcon CONTEXT COMMAND [ARG...]
runcon [-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [ARG...]
π¦ DESCRIPTION π¦
Run a command with a specified security context, but ONLY on systems where SELinux is enabled. that's the vibe, that's the whole assignment π«Ά
β¨ OPTIONS β¨
-c,--computeβ Compute the process transition context before modifying. like, do the math first, queen π₯-u,--user<USER> β Set user USER in the target security context.-r,--role<ROLE> β Set role ROLE in the target security context.-t,--type<TYPE> β Set type TYPE in the target security context.-l,--range<RANGE> β Set range RANGE in the target security context.-h,--helpβ Print help. your friendly little lifeline π-V,--versionβ Print version. who are you,runcon? a legend, that's who.[ARG]β an argument. yes, just an argument. she's flexible like that π
π EXTRA π
Run COMMAND with a completely-specified CONTEXT, OR with the current-or-transitioned security context modified by one or more of LEVEL, ROLE, TYPE, and USER. mix and match, it's giving customize-your-own-adventure π
Also β the page saysLEVELhere, so we're keepingLEVELhere. copy the queen's homework exactly, bestie.
If NONE of --compute, --type, --user, --role or --range is specified, then the first argument is used as the complete context. that's the rule, no exceptions β
β οΈ real talk: only carefully-chosen contexts are likely to successfully run. this is NOT a "just yolo it" situation, bestie. it's giving delicate. it's giving precision. it's giving π if you guess.
And if NEITHER CONTEXT NOR COMMAND is specified? then the current security context gets printed. cute little mirror moment π
π¦ VERSION π¦
v(uutils coreutils) 0.12.0
π EXAMPLES π
Print the security context of your current execution context:
runcon
Specify the domain to run a command in:
runcon [-t|--type] domain_t command
Specify the context role to run a command with:
runcon [-r|--role] role_r command
Specify the full context to run a command with:
runcon user_u:role_r:domain_t command
π«Ά these examples are provided by the tldr-pages project <https://tldr.sh> under the CC BY 4.0 License. and like, fair warning bestie β uutils is a work in progress, so some examples might justβ¦ fail on you π not me being honest. it's character development.
okay that's the whole page!! πΈ manual RUNCON(1), dated 2026-09-25, from the General Commands Manual source β mwah, slay, go run some contexts responsibly, periodt πβ¨π
π¦ where this page comes from
- ubuntu stonking: rust-coreutils 0.12.0-1ubuntu2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms