runcon(1)

๐Ÿ“ฆ
version 0.7.0 ยท 3 versions
, in epel 10, fedora 43, fedora 44

โœจ 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 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. ๐Ÿ†˜
  • -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