unix

How do I check to see if SELinux is enabled on my Linux server?

Security-Enhanced Linux (SELinux) is a Linux feature that provides a mechanism for supporting access control security policies through the use of Linux Security Modules (LSM) in the Linux kernel. It is a set of modifications that can be applied to Unix-like operating system kernels, such as Linux and BSD.

To check to see if it’s enabled, you can run the command below:

sestatus

or

getenforce

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top