1RUNCON(1) User Commands RUNCON(1)
2
3
4
6 runcon - run command with specified SELinux security context
7
9 runcon CONTEXT COMMAND [args]
10 runcon [ -c ] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]
11
13 Run COMMAND with completely-specified CONTEXT, or with current or tran‐
14 sitioned security context modified by one or more of LEVEL, ROLE, TYPE,
15 and USER.
16
17 If none of -c, -t, -u, -r, or -l, is specified, the first argument is
18 used as the complete context. Any additional arguments after COMMAND
19 are interpreted as arguments to the command.
20
21 Note that only carefully-chosen contexts are likely to successfully
22 run.
23
24 Run a program in a different SELinux security context. With neither
25 CONTEXT nor COMMAND, print the current security context.
26
27 Mandatory arguments to long options are mandatory for short options
28 too.
29
30 CONTEXT
31 Complete security context
32
33 -c, --compute
34 compute process transition context before modifying
35
36 -t, --type=TYPE
37 type (for same role as parent)
38
39 -u, --user=USER
40 user identity
41
42 -r, --role=ROLE
43 role
44
45 -l, --range=RANGE
46 levelrange
47
48 --help display this help and exit
49
50 --version
51 output version information and exit
52
53 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
54 Report runcon translation bugs to <http://translationproject.org/team/>
55
57 Written by Russell Coker.
58
60 Copyright © 2013 Free Software Foundation, Inc. License GPLv3+: GNU
61 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
62 This is free software: you are free to change and redistribute it.
63 There is NO WARRANTY, to the extent permitted by law.
64
66 The full documentation for runcon is maintained as a Texinfo manual.
67 If the info and runcon programs are properly installed at your site,
68 the command
69
70 info coreutils 'runcon invocation'
71
72 should give you access to the complete manual.
73
74
75
76GNU coreutils 8.22 October 2018 RUNCON(1)