My Oracle Support Banner

How to Check whether SELinux is Enabled or Disabled (Doc ID 432988.1)

Last updated on JANUARY 30, 2022

Applies to:

Linux OS - Version Enterprise Linux 4.0 to Oracle Linux 7.1 with Unbreakable Enterprise Kernel [3.8.13] [Release RHEL4 to OL7U1]
Oracle Cloud Infrastructure - Version N/A and later
Linux Itanium
Linux x86
Linux x86-64 Linux Kernel - Version: 4.0 to 5.3


From SELinux Frequently Asked Questions (FAQ):

Security-enhanced Linux (SELinux) is a reference implementation of the Flask security architecture for flexible mandatory access control. It was created to demonstrate the value of flexible mandatory access controls and how such controls could be added to an operating system. The Flask architecture has been subsequently mainstreamed into Linux® and ported to several other systems, including the Solaris™ operating system, the FreeBSD® operating system, and the Darwin kernel, spawning a wide range of related work. The Flask architecture provides general support for the enforcement of many kinds of mandatory access control policies, including those based on the concepts of Type Enforcement®, Role-based Access Control, and Multi-level Security.

Red Hat Enterprise Linux (RHEL) and Oracle Linux (OL) provide SELinux functionality. How one can check whether SELinux is enabled on a system?


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

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