blob: 0da35261348520bc355a5481deb5e7e7bffde62d [file] [log] [blame]
Eric Paris3c5abbc2011-08-15 13:56:02 -04001.TH SEUNSHARE "8" "May 2010" "seunshare" "User Commands"
2.SH NAME
3seunshare \- Run cmd with alternate homedir, tmpdir and/or SELinux context
4.SH SYNOPSIS
5.B seunshare
Dan Walshde0795a2014-05-12 13:19:20 -04006[ -v ] [ -C ] [ -k ] [ -t tmpdir ] [ -h homedir ] [ -Z context ] -- executable [args]
Eric Paris3c5abbc2011-08-15 13:56:02 -04007.br
8.SH DESCRIPTION
9.PP
10Run the
11.I executable
12within 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
16Alternate homedir to be used by the application. Homedir must be owned by the user.
17.TP
18\fB\-t\ tmpdir
Yuri Chornoivanf0329462018-06-30 13:51:24 +030019Use alternate temporary directory to mount on /tmp. tmpdir must be owned by the user.
Eric Paris3c5abbc2011-08-15 13:56:02 -040020.TP
Dan Walsh149afc62011-06-13 13:24:38 -040021\fB\-C --capabilities\fR
22Allow apps executed within the namespace to use capabilities. Default is no capabilities.
23.TP
Dan Walshe8575bf2011-07-06 20:22:26 -040024\fB\-k --kill\fR
25Kill all processes with matching MCS level.
26.TP
Eric Paris3c5abbc2011-08-15 13:56:02 -040027\fB\-Z\ context
Laurent Bigonville8586ee52016-05-01 20:18:03 +020028Use alternate SELinux context while running the executable.
Eric Paris3c5abbc2011-08-15 13:56:02 -040029.TP
30\fB\-v\fR
31Verbose output
32.SH "SEE ALSO"
33.TP
34runcon(1), sandbox(8), selinux(8)
35.PP
36.SH AUTHOR
37This manual page was written by
38.I Dan Walsh <dwalsh@redhat.com>
39and
40.I Thomas Liu <tliu@fedoraproject.org>