OSDN Git Service

coreutils (8.21): Update releases
[linuxjm/coreutils.git] / original / man1 / runcon.1
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
2 .TH RUNCON "1" "May 2014" "GNU coreutils 8.21" "User Commands"
3 .SH NAME
4 runcon \- run command with specified security context
5 .SH SYNOPSIS
6 .B runcon
7 \fICONTEXT COMMAND \fR[\fIargs\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] \fICOMMAND \fR[\fIargs\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 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=\fITYPE\fR
36 type (for same role as parent)
37 .TP
38 \fB\-u\fR, \fB\-\-user\fR=\fIUSER\fR
39 user identity
40 .TP
41 \fB\-r\fR, \fB\-\-role\fR=\fIROLE\fR
42 role
43 .TP
44 \fB\-l\fR, \fB\-\-range\fR=\fIRANGE\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 Report runcon bugs to bug\-coreutils@gnu.org
56 .br
57 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
58 .br
59 General help using GNU software: <http://www.gnu.org/gethelp/>
60 .br
61 Report runcon translation bugs to <http://translationproject.org/team/>
62 .SH COPYRIGHT
63 Copyright \(co 2013 Free Software Foundation, Inc.
64 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
65 .br
66 This is free software: you are free to change and redistribute it.
67 There is NO WARRANTY, to the extent permitted by law.
68 .SH "SEE ALSO"
69 The full documentation for
70 .B runcon
71 is maintained as a Texinfo manual.  If the
72 .B info
73 and
74 .B runcon
75 programs are properly installed at your site, the command
76 .IP
77 .B info coreutils \(aqruncon invocation\(aq
78 .PP
79 should give you access to the complete manual.