rust-runcon(1)

rust-runcon1

Run command with specified security context under selinux enabled systems.

Usage

runcon [{-c | --compute}] [{-u | --user}] [{-r | --role}] [{-t | --type}] [{-l | --range}] [{-h | --help}] [{-V | --version}] [ARG]

Overview

Run command with specified security context under SELinux enabled systems.

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]

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.

If none of --compute, --type, --user, --role or --range is specified, then the first argument is used as the complete context.

Note that only carefully-chosen contexts are likely to successfully run.

If neither CONTEXT nor COMMAND is specified, the current security context is printed.

Version

v0.0.30

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

-V since Debian 13 (Trixie); -h since Debian 13 (Trixie).

From rust-coreutils 0.0.30-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.