| Disable SELinux in CentOS and Red Hat Enterprise Linux |
|
|
| Monday, 15 March 2010 | |
|
This short tutorials shows you how to disable SELinux in CentOS or Red Hat Enterprise Linux (RHEL). Step 1 Check to see if SELinux is enabled --------------------------------------------------------- See if selinux is enabled: grep SELINUX /etc/selinux/config Step 2. Edit SELinux config file ------------------------------------------ Edit /etc/selinux/config file and change SELINUX option to: SELINUX=disabled You can also check the status of selinux (enable or disable) with the following command: getenforce Step 3. Reboot your system --------------------------------------- After changing SELINUX option, save the file and reboot your system. Note ------ Values of SELINUX variable are: - enforcing: selinux enabled - permisive: only prints warnings, do not enforce - disabled: selinux disabled |
|
| Last Updated ( Monday, 15 March 2010 ) |
| < Prev |
|---|

