Debian Codegraph @

upstream/debian-unstable/man1/runcon.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
2 .TH RUNCON "1" "February 2026" "GNU coreutils 9.10" "User Commands"
3 .SH NAME
4 runcon \- run command with specified security context
5 .SH SYNOPSIS
6 .B runcon
7 [\fI\,CONTEXT COMMAND \/\fR[\fI\,ARG\/\fR]...]
8 .br
9 .B runcon
10 [\fI\,-c\/\fR] [\fI\,-u USER\/\fR] [\fI\,-r ROLE\/\fR] [\fI\,-t TYPE\/\fR] [\fI\,-l RANGE\/\fR] \fI\,COMMAND \/\fR[\fI\,ARG\/\fR]...
11 .SH DESCRIPTION
12 Run COMMAND with completely-specified CONTEXT, or with current or
13 transitioned security context modified by one or more of LEVEL,
14 ROLE, TYPE, and USER.
15 .PP
16 If none of \fI-c\fR, \fI-t\fR, \fI-u\fR, \fI-r\fR, or \fI-l\fR, is specified,
17 the first argument is used as the complete context. Any additional
18 arguments after \fICOMMAND\fR are interpreted as arguments to the
19 command.
20 .PP
21 Only carefully-chosen contexts are likely to run successfully.
22 .PP
23 Run a program in a different SELinux security context.
24 With neither CONTEXT nor COMMAND, print the current security context.
25 .PP
26 Mandatory arguments to long options are mandatory for short options too.
27 .TP
28 CONTEXT
29 Complete security context
30 .TP
31 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#runcon-c'\fB\-c, \-\-compute\fP\X'tty: link'
32 compute process transition context before modifying
33 .TP
34 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#runcon-t'\fB\-t, \-\-type=\,TYPE\fP\X'tty: link'\/\fR
35 type (for same role as parent)
36 .TP
37 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#runcon-u'\fB\-u, \-\-user=\,USER\fP\X'tty: link'\/\fR
38 user identity
39 .TP
40 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#runcon-r'\fB\-r, \-\-role=\,ROLE\fP\X'tty: link'\/\fR
41 role
42 .TP
43 \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#runcon-l'\fB\-l, \-\-range=\,RANGE\fP\X'tty: link'\/\fR
44 levelrange
45 .TP
46 \X'tty: link https://www.gnu.org/software/coreutils/runcon#runcon--help'\fB\-\-help\fP\X'tty: link'
47 display this help and exit
48 .TP
49 \X'tty: link https://www.gnu.org/software/coreutils/runcon#runcon--version'\fB\-\-version\fP\X'tty: link'
50 output version information and exit
51 .SS "Exit status:"
52 .TP
53 125
54 if the runcon command itself fails
55 .TP
56 126
57 if COMMAND is found but cannot be invoked
58 .TP
59 127
60 if COMMAND cannot be found
61 .TP
62 \-
63 the exit status of COMMAND otherwise
64 .SH AUTHOR
65 Written by Russell Coker.
66 .SH "REPORTING BUGS"
67 Report bugs to: bug\[email protected]
68 .br
69 GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
70 .br
71 General help using GNU software: <https://www.gnu.org/gethelp/>
72 .br
73 Report any translation bugs to <https://translationproject.org/team/>
74 .SH "SEE ALSO"
75 Full documentation <https://www.gnu.org/software/coreutils/runcon>
76 .br
77 or available locally via: info \(aq(coreutils) runcon invocation\(aq
78 .PP
79 .br
80 Packaged by Debian (9.10\-1)
81 .br
82 Copyright \(co 2026 Free Software Foundation, Inc.
83 .br
84 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
85 .br
86 This is free software: you are free to change and redistribute it.
87 .br
88 There is NO WARRANTY, to the extent permitted by law.