To enable SELinux in enforcing mode, check the current status using getenforce and edit /etc/sysconfig/selinux to change "disabled" to "enforcing" if needed. Reboot the system and verify SELinux is now in enforcing mode with getenforce.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
19 views3 pages
004 Enable Selinux PDF
To enable SELinux in enforcing mode, check the current status using getenforce and edit /etc/sysconfig/selinux to change "disabled" to "enforcing" if needed. Reboot the system and verify SELinux is now in enforcing mode with getenforce.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3
Enable SELinux in enforcing mode
Question: Enable SELinux in enforcing mode
(scroll down for an answer)
Answer: Make sure that SELinux is enabled. This setting can be changed only via reboot! Issue the command getenforce and check what is the status of SELinux. If You see Disabled then edit the file /etc/sysconfig/selinux and in a proper line change disabled to enforcing. Reboot the system Again check SELinux status using command getenforce