My Oracle Support Banner

How to Disable or set SELinux to Permissive mode (Doc ID 457458.1)

Last updated on AUGUST 04, 2018

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.


To view full details, sign in with your My Oracle Support account.

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

In this Document
 To completely disable SELinux, use either of these methods:
 To set SELinux to Permissive mode, use either of these methods:
 To check the status of SELinux, issue:

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.