Setting or Switching SELinux Policies

Note:

You can't change the policy type of a running system.

You can configure the default policy type by editing the /etc/selinux/config file and setting the value of the the SELINUXTYPE directive to targeted or mls.

Before switching from one policy to another, change the SELinux mode to permissive. Relabeling while in enforcing mode may prevent confined domains from accessing files, which would also prevent your system from starting correctly.