runcon Command Examples

Run a program in a different SELinux security context. See also: secon. More information: https://www.gnu.org/software/coreutils/runcon.

runcon

runcon -t {{domain}}_t {{command}}

runcon -r {{role}}_r {{command}}

runcon {{user}}_u:{{role}}_r:{{domain}}_t {{command}}