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!

Originally posted on January 9, 2016 @ 3:42 pm

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.