Scroll to navigation

runcon(1) General Commands Manual runcon(1)

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.

OPTIONS

Compute process transition context before modifying.
Set user USER in the target security context.
Set role ROLE in the target security context.
Set type TYPE in the target security context.
Set range RANGE in the target security context.
Print help
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.

With neither CONTEXT nor COMMAND are specified, then this prints the current security context.

VERSION

v0.0.26

runcon 0.0.26