Section: selinux (1)
Updated: February 2005
Return to Main Contents
runcon - run command with specified security context
[-c] [-t TYPE] [-l LEVEL] [-u USER] [-r ROLE] COMMAND [ARGS...]
CONTEXT COMMAND [args...]
Run COMMAND with completely-specified CONTEXT, or with current or
transitioned security context modified by one or more of LEVEL,
ROLE, TYPE, and USER.
compute process transition before modifying context
change current type to the specified type
change current level range to the specified range
change current role to the specified role
change current user to the specified user
The -- flag indicates that runcon should stop processing command
line arguments. Further arguments will be passed to COMMAND.
If none of -c, -t, -u, -r, or -l, is specified,
the first argument is used as the complete context.
Note that only carefully-chosen contexts are likely to successfully
linux.jgfs.net manual pages