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
54 Written by Russell Coker.
55
57 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
58 Report any translation bugs to <https://translationproject.org/team/>
59
61 Copyright © 2020 Free Software Foundation, Inc. License GPLv3+: GNU
62 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
63 This is free software: you are free to change and redistribute it.
64 There is NO WARRANTY, to the extent permitted by law.
65
67 Full documentation <https://www.gnu.org/software/coreutils/runcon>
68 or available locally via: info '(coreutils) runcon invocation'
69
70
71
72GNU coreutils 8.32 June 2021 RUNCON(1)