OSDN Git Service

Update translations: chroot, csplit, dd, du, pwd
[linuxjm/coreutils.git] / original / man1 / runcon.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.3.
2 .TH RUNCON "1" "January 2016" "GNU coreutils 8.25" "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\,args\/\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\,args\/\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 Note that only carefully-chosen contexts are likely to successfully
22 run.
23 .PP
24 Run a program in a different SELinux security context.
25 With neither CONTEXT nor COMMAND, print the current security context.
26 .PP
27 Mandatory arguments to long options are mandatory for short options too.
28 .TP
29 CONTEXT
30 Complete security context
31 .TP
32 \fB\-c\fR, \fB\-\-compute\fR
33 compute process transition context before modifying
34 .TP
35 \fB\-t\fR, \fB\-\-type\fR=\fI\,TYPE\/\fR
36 type (for same role as parent)
37 .TP
38 \fB\-u\fR, \fB\-\-user\fR=\fI\,USER\/\fR
39 user identity
40 .TP
41 \fB\-r\fR, \fB\-\-role\fR=\fI\,ROLE\/\fR
42 role
43 .TP
44 \fB\-l\fR, \fB\-\-range\fR=\fI\,RANGE\/\fR
45 levelrange
46 .TP
47 \fB\-\-help\fR
48 display this help and exit
49 .TP
50 \fB\-\-version\fR
51 output version information and exit
52 .SH AUTHOR
53 Written by Russell Coker.
54 .SH "REPORTING BUGS"
55 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
56 .br
57 Report runcon translation bugs to <http://translationproject.org/team/>
58 .SH COPYRIGHT
59 Copyright \(co 2016 Free Software Foundation, Inc.
60 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
61 .br
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 .SH "SEE ALSO"
65 Full documentation at: <http://www.gnu.org/software/coreutils/runcon>
66 .br
67 or available locally via: info \(aq(coreutils) runcon invocation\(aq