How to Disable SELinux on Centos
There are two different ways to disable SELinux in the CentOS operating system. One method allows you to disable SELinux through a graphical window, the other requires you to change a value in the SELinux file through a text editor. Either method will take you less than a minute and will require a reboot of your system for the changes to take affect.
Instructions
-
Graphical
-
1
Click "System," go to the "Administration" menu and select "Security Level and Firewall." Enter the administrator password when prompted.
-
2
Click the "SELinux" tab.
-
-
3
Click "Disabled" in the SELinux settings and press "OK."
-
4
Reboot your system.
Text Mode
-
5
Click "Applications," select "System Tools" and choose "Terminal."
-
6
Type "su" and press "Enter." Type in the super user password. The password will not show up while typing it. Press "Enter" after you type the password.
-
7
Type "gedit /etc/sysconfig/selinux" and press "Enter."
-
8
Change the word "permissive" to "disabled" on the sixth line that begins with "SELINUX=". Click "File" and click "Save" to save your changes.
-
9
Reboot your system for the changes to take affect.
-
1