Disable SELinux CentOS 7

This blog covers the basic steps to disable SELinux on CentOS 7

first we need to see how SELinux is configured, issue the sestatus command

1

as you can see the current mode is enforcing, issue the following command to disable it

2

now issue the sestatus command again

3

you should see that the config file, is now going to load it as disabled after the next reboot.

issue a reboot

1

after a reboot, you can verify that SELinux has been disabled

4

That’s it!