Welcome, Guest! Registration


Thursday, 2018-03-22
Main » 2015 » August » 27 » How to disable selinux on CentOS 7
8:30 PM
How to disable selinux on CentOS 7

Here is how to disable SELinux on CentOS 7. That shall also work on the corresponding RedHat systems.

First of all check status of SELinux on your system:

~]$ sestatus

To make the SELinux permissive immediately:

~]$ sudo setenforce Permissive

To make SELinux permissive after reboot, edit /etc/sysconfig/selinux to get


To disable SELinux altogether, edit /etc/sysconfig/selinux to get


The changes in /etc/sysconfig/selinux will be in effect after

sudo reboot

Great SELinux HowTo from CentOS

Views: 414 | Added by: ep | Tags: RedHat, selinux, Linux | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Registration | Login ]