January 15, 2013

How to Disable SELinux on RHEL 6.3

SELinux is a good thing, but when sitting on a test machine, you might not be interesting in configure SELinux to have you application running smoothly, without running into SELinux. So here I will show you how to disable SELinux. Remember that this is NOT recommended for a production environment.

First check the current status of SELinux.

Now to disable SELinux. Open /etc/selinux/config and edit the below.

Now restart you system and run sestatus again to verify that you configuration changes had taken affect.

Reference

No comments: