1RUNCON(1) selinux RUNCON(1)
2
3
4
6 runcon - run command with specified SELinux security context
7
9 runcon [-c] [-t TYPE] [-l LEVEL] [-u USER] [-r ROLE] COMMAND [ARGS...]
10
11 or
12
13 runcon CONTEXT COMMAND [args...]
14
16 Run COMMAND with completely-specified CONTEXT, or with current or tran‐
17 sitioned security context modified by one or more of LEVEL, ROLE, TYPE,
18 and USER.
19
20 -c compute process transition before modifying context
21
22 -t change current type to the specified type
23
24 -l change current level range to the specified range
25
26 -r change current role to the specified role
27
28 -u change current user to the specified user
29
30 -- The -- flag indicates that runcon should stop processing command
31 line arguments. Further arguments will be passed to COMMAND.
32
33 If none of -c, -t, -u, -r, or -l, is specified, the first argument is
34 used as the complete context.
35
36 Note that only carefully-chosen contexts are likely to successfully
37 run.
38
39
40
41runcon (coreutils) 5.0 February 2005 RUNCON(1)