vmware_selinux(8) vmware SELinux Policy documentation vmware_selinux(8)NAMEvmware_selinux - Security Enhanced Linux Policy for the vmware pro‐
cesses
DESCRIPTION
Security-Enhanced Linux secures the vmware processes via flexible
mandatory access control.
NSSWITCH DOMAINFILE CONTEXTS
SELinux requires files to have an extended attribute to define the file
type.
You can see the context of a file using the -Z option to ls
Policy governs the access confined processes have to these files.
SELinux vmware policy is very flexible allowing users to setup their
vmware processes in as secure a method as possible.
The following file types are defined for vmware:
vmware_conf_t
- Set files with the vmware_conf_t type, if you want to treat the files
as vmware configuration data, usually stored under the /etc directory.
vmware_exec_t
- Set files with the vmware_exec_t type, if you want to transition an
executable to the vmware_t domain.
Paths:
/usr/sbin/vmware-serverd, /usr/lib/vmware/bin/vmware-mks,
/usr/lib/vmware/bin/vmplayer, /usr/bin/vmware-ping,
/usr/lib/vmware/bin/vmware-ui, /usr/bin/vmware-wizard,
/usr/bin/vmware
vmware_file_t
- Set files with the vmware_file_t type, if you want to treat the files
as vmware content.
vmware_host_exec_t
- Set files with the vmware_host_exec_t type, if you want to transition
an executable to the vmware_host_t domain.
Paths:
/usr/bin/vmware-smbpasswd.bin, /usr/bin/vmware-smbd,
/usr/lib/vmware-tools/sbin64/vmware.*, /usr/bin/vmnet-dhcpd,
/usr/bin/vmnet-bridge, /usr/bin/vmware-nmbd, /usr/bin/vmnet-neti‐
fup, /usr/sbin/vmware-guest.*, /usr/lib/vmware/bin/vmware-vmx,
/usr/bin/vmnet-natd, /usr/bin/vmware-vmx, /usr/bin/vmware-network,
/usr/bin/vmnet-sniffer, /usr/bin/vmware-smbpasswd,
/usr/lib/vmware-tools/sbin32/vmware.*
vmware_host_pid_t
- Set files with the vmware_host_pid_t type, if you want to store the
vmware host files under the /run directory.
vmware_host_tmp_t
- Set files with the vmware_host_tmp_t type, if you want to store
vmware host temporary files in the /tmp directories.
vmware_log_t
- Set files with the vmware_log_t type, if you want to treat the data
as vmware log data, usually stored under the /var/log directory.
Paths:
/var/log/vmware.*, /var/log/vnetlib.*
vmware_pid_t
- Set files with the vmware_pid_t type, if you want to store the vmware
files under the /run directory.
vmware_sys_conf_t
- Set files with the vmware_sys_conf_t type, if you want to treat the
files as vmware sys configuration data, usually stored under the /etc
directory.
Paths:
/usr/lib/vmware/config, /etc/vmware.*(/.*)?
vmware_tmp_t
- Set files with the vmware_tmp_t type, if you want to store vmware
temporary files in the /tmp directories.
vmware_tmpfs_t
- Set files with the vmware_tmpfs_t type, if you want to store vmware
files on a tmpfs file system.
Note: File context can be temporarily modified with the chcon command.
If you want to permanantly change the file context you need to use the
semanage fcontext command. This will modify the SELinux labeling data‐
base. You will need to use restorecon to apply the labels.
PROCESS TYPES
SELinux defines process types (domains) for each process running on the
system
You can see the context of a process using the -Z option to ps
Policy governs the access confined processes have to files. SELinux
vmware policy is very flexible allowing users to setup their vmware
processes in as secure a method as possible.
The following process types are defined for vmware:
vmware_t, vmware_host_t
Note: semanage permissive -a PROCESS_TYPE can be used to make a process
type permissive. Permissive process types are not denied access by
SELinux. AVC messages will still be generated.
COMMANDS
semanage fcontext can also be used to manipulate default file context
mappings.
semanage permissive can also be used to manipulate whether or not a
process type is permissive.
semanage module can also be used to enable/disable/install/remove pol‐
icy modules.
system-config-selinux is a GUI tool available to customize SELinux pol‐
icy settings.
AUTHOR
This manual page was autogenerated by genman.py.
SEE ALSOselinux(8), vmware(8), semanage(8), restorecon(8), chcon(1)dwalsh@redhat.com vmware vmware_selinux(8)