linux poison RSS
linux poison Email

How To disable SELinux security policy in Redhat and Fedora

Login as root then:
Edit SELinux config file:
# vi /etc/selinux/config

Then set SELINUX= to disabled.
SELINUX=disabled

Replace the current line which most of the time will be set to enforcing. This disabled SELinux on boot, however it is still enabled to disable it without having to reboot execute:

setenforce 0

Take a look on setsebool command, if you want to enable specific applications without disabling SELinux look at the . The most common problem is SELinux blocking mySQL. You can fix it:

# setsebool -P mysqld_disable_trans=1


0 comments:

Post a Comment

Related Posts with Thumbnails