Debian Codegraph @

sandbox/seunshare.8

raw
1 .TH SEUNSHARE "8" "May 2010" "seunshare" "User Commands"
2 .SH NAME
3 seunshare \- Run cmd with alternate homedir, tmpdir and/or SELinux context
4 .SH SYNOPSIS
5 .B seunshare
6 [ -v ] [ -C ] [ -k ] [ -t tmpdir ] [ -h homedir ] [ -Z context ] -- executable [args]
7 .br
8 .SH DESCRIPTION
9 .PP
10 Run the
11 .I executable
12 within the specified context, using the alternate home directory and /tmp directory. The seunshare command unshares from the default namespace, then mounts the specified homedir and tmpdir over the default homedir and /tmp. Finally it tells the kernel to execute the application under the specified SELinux context.
13
14 .TP
15 \fB\-h homedir\fR
16 Alternate homedir to be used by the application. Homedir must be owned by the user.
17 .TP
18 \fB\-t\ tmpdir
19 Use alternate temporary directory to mount on /tmp. tmpdir must be owned by the user.
20 .TP
21 \fB\-C --capabilities\fR
22 Allow apps executed within the namespace to use capabilities. Default is no capabilities.
23 .TP
24 \fB\-k --kill\fR
25 Kill all processes with matching MCS level.
26 .TP
27 \fB\-Z\ context
28 Use alternate SELinux context while running the executable.
29 .TP
30 \fB\-v\fR
31 Verbose output
32 .SH "SEE ALSO"
33 .TP
34 runcon(1), sandbox(8), selinux(8)
35 .PP
36 .SH AUTHOR
37 This manual page was written by
38 .I Dan Walsh <[email protected]>
39 and
40 .I Thomas Liu <[email protected]>