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 CONTEXT
28 Complete security context
29
30 -c, --compute
31 compute process transition context before modifying
32
33 -t, --type=TYPE
34 type (for same role as parent)
35
36 -u, --user=USER
37 user identity
38
39 -r, --role=ROLE
40 role
41
42 -l, --range=RANGE
43 levelrange
44
45 --help display this help and exit
46
47 --version
48 output version information and exit
49
51 Written by Russell Coker.
52
54 Report runcon bugs to bug-coreutils@gnu.org
55 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
56 General help using GNU software: <http://www.gnu.org/gethelp/>
57 Report runcon translation bugs to <http://translationproject.org/team/>
58
60 Copyright © 2010 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.4 June 2018 RUNCON(1)