logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

seunshare - Run cmd with alternate homedir, tmpdir and/or SELinux context

Author

       This manual page was written by DanWalsh<dwalsh@redhat.com> and ThomasLiu<tliu@fedoraproject.org>

seunshare                                           May 2010                                        SEUNSHARE(8)

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 execute the application under the
       specified SELinux context.

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

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

       -C--capabilities
              Allow apps executed within the namespace to use capabilities.  Default is no capabilities.

       -k--kill
              Kill all processes with matching MCS level.

       -Zcontext
              Use alternate SELinux context while running the executable.

       -v     Verbose output

Name

       seunshare - Run cmd with alternate homedir, tmpdir and/or SELinux context

See Also

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

Synopsis

seunshare [ -v ] [ -C ] [ -k ] [ -t tmpdir ] [ -h homedir ] [ -Z context ] -- executable [args]

See Also