mirror of
https://github.com/uutils/coreutils
synced 2025-01-25 19:35:35 +00:00
666 B
666 B
runcon
runcon [CONTEXT COMMAND [ARG...]]
runcon [-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [ARG...]";
Run command with specified security context under SELinux enabled systems.
After Help
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.