runcon(1)
โจ runcon(1) โ bestie edition โจ
okay so this is a page from the General Commands Manual, and the star of the show is runcon โ the lil tool that runs a command with a security context you pick, on systems where SELinux is enabled. ๐
๐ธ NAME ๐ธ
runcon โ Run command with specified security context under SELinux enabled systems. ๐
๐ฆ SYNOPSIS ๐ฆ
runcon [-c|--compute] [-u|--user] [-r|--role] [-t|--type] [-l|--range]
[-h|--help] [-V|--version] [ARG]
๐ DESCRIPTION ๐
Run command with specified security context under SELinux enabled systems. That's the whole vibe, bestie. You tell it what context you want, it runs your command inside it. โจ
๐ OPTIONS ๐
-c,--computeโ Compute process transition context before modifying. ๐งฎ-u,--user<USER>โ Set userUSERin the target security context. ๐โโ๏ธ-r,--role<ROLE>โ Set roleROLEin the target security context. ๐ญ-t,--type<TYPE>โ Set typeTYPEin the target security context. ๐ท๏ธ-l,--range<RANGE>โ Set rangeRANGEin the target security context. ๐-h,--helpโ Print help. ๐-V,--versionโ Print version. ๐[ARG]โ the argument slot, it's right there in the list, no cap. ๐ซถ
๐ EXTRA ๐
Run COMMAND with completely-specified CONTEXT, or with current or transitioned security context modified by one or more of LEVEL, ROLE, TYPE, and USER. That's the whole toolkit right there. โจ
If none of --compute, --type, --user, --role or --range is specified, then the first argument is used as the complete context. fr fr, arg number one becomes the whole context. ๐ซ
Note that only carefully-chosen contexts are likely to successfully run. ๐ญ Like, the vibes have to actually match โ a random context is not gonna slay.
If neither CONTEXT nor COMMAND is specified, the current security context is printed. ๐ So just running it with nothing gives you a little peek at where you're at. ๐ธ
โญ VERSION โญ
v(uutils coreutils) 0.7.0 ๐
and that's the whole page, bestie โ signed off with love from the runcon (uutils coreutils) 0.7.0 era, sitting pretty in section runcon(1) of the manual. mwah ๐
๐โจ
๐ฆ where this page comes from
- epel 10: rust-coreutils-devel 0.7.0-10.el10_3 ยท MIT
- epel 10: uutils-coreutils 0.7.0-10.el10_3 ยท (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 43: rust-coreutils-devel 0.7.0-12.fc43 ยท MIT
- fedora 43: uutils-coreutils 0.7.0-12.fc43 ยท (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 44: rust-coreutils-devel 0.7.0-4.fc44 ยท MIT
- fedora 44: uutils-coreutils 0.7.0-4.fc44 ยท (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms