2.1.2 Changing the SELinux Mode

While SELinux is enabled, you can immediately transition between permissive mode and enforcing mode by using the host_access_control utility. In this case, no relabeling or reboot is required.

  • To change to permissive mode, use the following command:

    # /opt/oracle.cellos/host_access_control selinux --permissive
  • To change to enforcing mode, use the following command:

    # /opt/oracle.cellos/host_access_control selinux --enforcing