Wednesday, November 27, 2013

How to turn off SELINUX in Red - Hat based distributions including CentOS, Oracle Linux and Fedora?


To check  if SELinux is running execute following command:
# getenforce

To disable it, execute the following command:
# setenforce Permissive

This will put selinux in a passive (allow all) mode and last until the machine is rebooted.
 To permanently disable it, change SELINUX= line in: /etc/sysconfig/selinux.


Provided by:Forthscale systems, cloud experts

No comments: