1default_type(5)              SELinux configuration             default_type(5)
2
3
4

NAME

6       default_type - The SELinux default type configuration file
7

DESCRIPTION

9       The  default_type file contains entries that allow SELinux-aware appliā€
10       cations such as newrole(1) to select a default type for a role  if  one
11       is not supplied.
12
13       selinux_default_type_path(3) will return the active policy path to this
14       file. The default, default type file is:
15              /etc/selinux/{SELINUXTYPE}/contexts/default_type
16
17       Where {SELINUXTYPE} is the entry from the  selinux  configuration  file
18       config (see selinux_config(5)).
19
20       get_default_type(3)  reads this file to determine a type for the active
21       policy.
22

FILE FORMAT

24       Each line within the default_type  file  is  formatted  with  role:type
25       entries where:
26              role
27                     The SELinux role.
28              type
29                     The domain type that is returned for this role.
30

EXAMPLE

32       # ./contexts/default_type
33       auditadm_r:auditadm_t
34       user_r:user_t
35

SEE ALSO

37       selinux(8), get_default_type(3), newrole(1),
38       selinux_default_type_path(3), selinux_config(5)
39
40
41
42Security Enhanced Linux           28-Nov-2011                  default_type(5)
Impressum