Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

seunshare(8) [centos man page]

SEUNSHARE(8)							   User Commands						      SEUNSHARE(8)

NAME
seunshare - Run cmd with alternate homedir, tmpdir and/or SELinux context SYNOPSIS
seunshare [ -v ] [ -c ] [ -C ] [ -k ] [ -t tmpdir ] [ -h homedir ] [ -Z context ] -- executable [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 execute 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 parameters 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. -C --capabilities Allow apps executed within the namespace to use capabilities. Default is no capabilities. -k --kill Kill all processes with matching MCS level. -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)

Check Out this Related Man Page

sandbox.conf(5) 					    Linux System Administration 					   sandbox.conf(5)

NAME
sandbox.conf - user config file for the SELinux sandbox DESCRIPTION
When running sandbox with the -C argument, it will be confined using control groups and a system administrator can specify how the sandbox is confined. Everything after "#" is ignored, as are empty lines. All arguments should be separated by and equals sign ("="). These keywords are allowed. NAME The name of the sandbox control group. Default is "sandbox". CPUAFFINITY Which cpus to assign sandbox to. The default is ALL, but users can specify a comma-separated list with dashes ("-") to rep- resent ranges. Ex: 0-2,5 MEMUSAGE How much memory to allow sandbox to use. The default is 80%. Users can specify either a percentage or a value in the form of a number followed by one of the suffixes K, M, G to denote kilobytes, megabytes or gigabytes respectively. Ex: 50% or 100M CPUUSAGE Percentage of cpu sandbox should be allowed to use. The default is 80%. Specify a value followed by a percent sign ("%"). Ex: 50% SEE ALSO
sandbox(8) AUTHOR
This manual page was written by Thomas Liu <tliu@fedoraproject.org> sandbox.conf June 2010 sandbox.conf(5)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to change \tmpdir directory or increase size?

Hi, We're stuck after the Unix admin left without prior notice. We have a web application running on mySQL. it seems that the \tmpdir for mySQL is mount to var\tmp directory which has only 60 MB of available disk space running any big query fails due to the size limitation I don't have... (13 Replies)
Discussion started by: ray
13 Replies

2. UNIX and Linux Applications

User Mode Linux sandbox?

Hi all, Thanks (0 Replies)
Discussion started by: rubberjones
0 Replies

3. UNIX for Advanced & Expert Users

No Shell

Hi, I have an issue that i have never come across before. I have 1 user on a server who cannot login. When they connect using Putty and put in the login id and password the session is terminated. It is as if they had /usr/bin/false in /etc/passwd but they dont. This is the password entry; ... (9 Replies)
Discussion started by: Andyp2704
9 Replies

4. Shell Programming and Scripting

Help with capturing homedir via ssh and saving to variable

I need to capture the homedir using the ssh command and then saving it to a variable. The results from the following command is what I need to capture to a variable: NOTE: the value I'm getting back is also incorrect. as it seems to be getting the home dir from the local server and not the... (2 Replies)
Discussion started by: reneuend
2 Replies

5. Shell Programming and Scripting

air sandbox parameters

Hi guys, I have a problem in unix shell script for abinitio. if i'm using air sandbox parameters command to set the parameter ABC_FILE_MASK to this value ^abc_rules_.csv$ , it is throwing error. Some one please help me find a solution. (1 Reply)
Discussion started by: suresh01_apk
1 Replies

6. Shell Programming and Scripting

Confusion with "su -c" and quotes, user context switching?

Trying to execute commands for different Unix user with that user's environment variable context without fully switching as that user using sudo && su capabilities. Hoping this would help with security and not having to waste time switching between 10 different app users on same server. I do... (6 Replies)
Discussion started by: kchinnam
6 Replies

7. Red Hat

No such file or directory found?

what’s going on these commands (/tmpdir %) ls Foo (tmpdir % )cat foo Cat:foo! No such file or directory any help me out i checked with permission...even though it is not working (1 Reply)
Discussion started by: rajeshz
1 Replies