LWN.net Logo

seunshare man page

SEUNSHARE(8)                     User Commands                    SEUNSHARE(8)



NAME
       seunshare  - Run cmd with alternate homedir, tmpdir and/or SELinux con‐
       text

SYNOPSIS
       seunshare [ -v ] [ -t tmpdir ] [ -h homedir ] [ -Z context  ]  --  exe‐
       cutable [args]

DESCRIPTION
       Run  the  executable  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  exe‐
       cute the application under the specified SELinux context.


       -h homedir
              Alternate  homedir  to be used by the application.  Homedir must
              be owned by the user.

       -t tmpdir
              Use alternate tempory directory to mount on /tmp.   tmpdir  must
              be owned by the user.

       -c cgroups
              Use  cgroups to control this copy of seunshare.  Specify parame‐
              ters in /etc/sysconfig/sandbox.  Max memory usage and cpu  usage
              are  to  be specified in percent.  You can specify which CPUs to
              use by numbering them 0,1,2... etc.

       -Z context
              Use alternate SELinux context while runing the executable.

       -v     Verbose output

SEE ALSO
       runcon(1), sandbox(8), selinux(8)

AUTHOR
       This manual page was  written  by  Dan  Walsh  <dwalsh@redhat.com>  and
       Thomas Liu <tliu@fedoraproject.org>



seunshare                          May 2010                       SEUNSHARE(8)

(Log in to post comments)

Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds