default_type(5) SELinux configuration default_type(5)NAME
default_type - The SELinux default type configuration file.
DESCRIPTION
The default_type file contains entries that allow SELinux-aware applications such as newrole(1) to select a default type for a role if one
is not supplied.
selinux_default_type_path(3) will return the active policy path to this file. The default, default type file is:
/etc/selinux/{SELINUXTYPE}/contexts/default_type
Where {SELINUXTYPE} is the entry from the selinux configuration file config (see selinux_config(5)).
get_default_type(3) reads this file to determine a type for the active policy.
FILE FORMAT
Each line within the default_type file is formatted with role:type entries where:
role
The SELinux role.
type
The domain type that is returned for this role.
EXAMPLE
# ./contexts/default_type
auditadm_r:auditadm_t
user_r:user_t
SEE ALSO selinux(8), get_default_type(3), newrole(1), selinux_default_type_path(3), selinux_config(5)Security Enhanced Linux 28-Nov-2011 default_type(5)
Check Out this Related Man Page
virtual_domain_context(5) SELinux configuration virtual_domain_context(5)NAME
virtual_domain_context - The SELinux virtual machine domain context configuration file.
DESCRIPTION
The virtual_domain_context file contains a list of domain contexts that are available for use by the SELinux-aware virtulization API lib-
virt (see libvirtd(8)).
selinux_virtual_domain_context_path(3) will return the active policy path to this file. The default virtual domain context file is:
/etc/selinux/{SELINUXTYPE}/contexts/virtual_domain_context
Where {SELINUXTYPE} is the entry from the selinux configuration file config (see selinux_config(5)).
FILE FORMAT
Each line in the file consists of an entry as follows:
user:role:type[:range]
Where:
user role type range
A user, role, type and optional range (for MCS/MLS) separated by colons (:) that can be used as a virtual domain context.
EXAMPLE
# ./contexts/virtual_domain_context
system_u:object_r:svirt_t:s0
SEE ALSO selinux(8), libvirtd(8), selinux_virtual_domain_context_path(3), selinux_config(5)Security Enhanced Linux 28-Nov-2011 virtual_domain_context(5)
Hi,
Has anyone enabled SELinux on Amazon EC2?
I tried to enable SELinux using a CentOS image, and the steps in the following post, but it didn't work!!
Amazon Web Services Developer Community : Has anyone successfully enabled SELinux ...
The steps i took:
1)I started with CentOS 5.3 base... (5 Replies)
Hi guys
I hope I will not break any rules and guidelines on the forum with this post. I am Admir, working as a recruiter for execIT Recruitment Zurich, Switzerland.
Our client is an urgent need of a linux system administrator/support analyst who has trading floor experience and is eligible... (1 Reply)
Hi, I'm new to the forums!
I'm currently in the process of changing careers back into IT after a 2 year hiatus. I had an interview at a big company for a Linux Systems Administrator role and have been called back for a second interview in which they are going to grill me with Linux questions.
... (1 Reply)