How can I tell what mode SELinux is in?
search cancel

How can I tell what mode SELinux is in?

book

Article ID: 159597

calendar_today

Updated On:

Products

Data Loss Prevention Endpoint Prevent Data Loss Prevention Network Monitor Data Loss Prevention Network Prevent for Email Data Loss Prevention Enforce Data Loss Prevention Network Protect

Issue/Introduction

I'm installing on a Linux system and have heard about SELinux (Security Enhanced Linux).  I'm not sure how to determine if it is enabled or configured or whatever. 

How do I do that?

Resolution

The SELinux operation is configured here: /etc/selinux/config

As root, run the following command to see the current state: /usr/sbin/getenforce

 

 

 

Additional Information

Check the SELinux (Security Enhanced Linux) project page for more information on using SELinux.

If you are not sure about the selinux status during startup, you can search the startup log by typing: dmesg | less