Switching SELinux off
In this recipe we will consider the need to switch Security-Enhanced Linux (SELinux) off in order to ease the process of installing packages and managing your server.
Security-Enhanced Linux is a very robust security mechanism that is enabled by default. It is designed to improve the security of your server but on occasion it has been the case that you have been required to disable it in order to install a new package or to speed up the process of server management. This is not a decision you will make in haste, but it is the purpose of this recipe to show you how this can be achieved and this solution can be seen as both, temporary or permanent, depending on your needs.
Getting ready
To complete this recipe, you will require a working installation of the CentOS 6 operating system with root privileges and a console-based text editor of your choice.
How to do it...
SELinux has three enforcement levels and in this recipe we will show you how to make a permanent change to the...