Pages

Tuesday, October 18, 2011

Disable SELinux


Check current status:
cat /selinux/enforce
1 => enabled
0 => disable
 
To disable SELinux:
  • Disable immediately withoput reboot, change will be lost upon reboot:
    echo 0 > /selinux/enforce
  • Reboot required:
    • Set selinux=disabled in /etc/selinux/config, then reboot
    • In grub boot command-line add: selinux=0, and reboot


[Ref] Excellent post with details available here

No comments:

Post a Comment