How to Disable or set SELinux to Permissive mode

(Doc ID 457458.1)

Last updated on APRIL 05, 2017

Applies to:

Linux OS - Version Enterprise Linux 4.0 to Oracle Linux 6.6 with Unbreakable Enterprise Kernel [3.8.13] [Release RHEL4 to OL6U6]
Linux x86
Linux x86-64
Linux Kernel - Version: 4.0 to 5.0

Currency Check on 25-Jul-2014


How to fully disable SELinux (Security Enhanced Linux); or set it to "permissive" mode, in which case the SELinux software is loaded, but no enforcing is made of the rules, only logging is performed.

Please note that disabling SELinux or setting to "permissive" mode may have some security considerations. It is possible to keep SELinux enabled, and add manual exclusion rules.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms