How to disable SELINUX on Fedora 17

How to disable SELINUX on Fedora 17

Just a quick note here, I want to show you How to disable SELINUX on Fedora 17. But in some cases, disabling the SELINUX will cause security issues. Please do this if you are sure and need to. On Fedora 17, open Terminal and execute this command to edit the SELINUX config file
nano /etc/selinux/config
On the SELINUX line, change it to disabled as follow.


# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected.
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted

Now reboot Fedora 17.