How can I tell what mode SELinux is in?


Article ID: 159597


Updated On:


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 Prevent for Web Data Loss Prevention Network Protect


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?


The SELinux operation is configured mainly by the file /etc/SELinux/config

You can also run, as root, the command /usr/sbin/getenforce.

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