The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.

25.2.3 Setting SELinux Modes

You can set the default and current SELinux mode in the Status view of the SELinux Administration GUI.

Alternatively, to display the current mode, use the getenforce command:

# getenforce
Enforcing

To set the current mode to Enforcing, enter:

# setenforce Enforcing

To set the current mode to Permissive, enter:

# setenforce Permissive

The current value that you set for a mode using setenforce does not persist across reboots. To configure the default SELinux mode, edit the configuration file for SELinux, /etc/selinux/config, and set the value of the SELINUX directive to disabled, enabled, or permissive.