My Oracle Support Banner

Oracle Linux: How to Disable or Set SELinux to Permissive Mode (Doc ID 457458.1)

Last updated on OCTOBER 13, 2022

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Enterprise Linux 4.0 and later
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.