vmware_selinux
Section: vmware SELinux Policy documentation (8)Updated: vmware
Index Return to Main Contents
NAME
vmware_selinux - Security Enhanced Linux Policy for the vmware processesDESCRIPTION
SELinux Linux secures vmware (VMWare Workstation virtual machines) processes via flexible mandatory access control.
FILE 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 lsP 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/lib/vmware/bin/vmware-mks, /usr/lib/vmware/bin/vmplayer, /usr/lib64/vmware/bin/vmware-ui, /usr/lib/vmware/bin/vmware-ui, /usr/sbin/vmware-serverd, /usr/lib64/vmware/bin/vmplayer, /usr/lib64/vmware/bin/vmware-mks, /usr/bin/vmware, /usr/bin/vmware-wizard
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/vmware-ping, /usr/bin/vmnet-dhcpd, /usr/lib64/vmware/bin/vmware-vmx, /usr/bin/vmnet-bridge, /usr/bin/vmware-nmbd, /usr/bin/vmnet-netifup, /usr/sbin/vmware-guest.*, /usr/bin/vmware-network, /usr/bin/vmware-vmx, /usr/bin/vmnet-natd, /usr/bin/vmware-smbpasswd, /usr/bin/vmnet-sniffer, /usr/lib/vmware-tools/sbin32/vmware.*, /usr/lib/vmware/bin/vmware-vmx
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.*(/.*)?, /usr/lib64/vmware/config
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 permanently change the file context you need to use the semanage fcontext command. This will modify the SELinux labeling database. You will need to use restorecon to apply the labels.
PROCESS TYPES
SELinux defines process types (domains) for each process running on the systemYou can see the context of a process using the -Z option to psP 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 policy modules.
system-config-selinux is a GUI tool available to customize SELinux policy settings.
AUTHOR
This manual page was autogenerated by genman.py.SEE ALSO
selinux(8), vmware(8), semanage(8), restorecon(8), chcon(1)
Index
This document was created by man2html, using the manual pages.
Time: 05:34:31 GMT, December 24, 2015