qacafe - ip test solutions
Knowledge Base > How do I remove SELinux?

How do I remove SELinux?

Installation

SELinux is enabled by default in most versions of Fedora, and is not compatible with CDRouter. To disable SELinux in the latest Fedora releases, edit the /etc/sysconfig/selinux file and set the variable SELINUX to disabled, and reboot the system:

# su
# gedit /etc/sysconfig/selinux

# 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 - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted

An alternative procedure may be required to disable SELinux on older Fedora distributions:

# system-config-securitylevel
# reboot

NOTE: After running system-config-securitylevel you will need to reboot your system to disable SELinux.

Other problems?

Please contact support@qacafe.com and we'll help you through the installation process.

Related articles that may also be helpful: