How to disable Selinux in Fedora 20?
I've disabled Selinux as per https://ask.fedoraproject.org/question/10507/how-to-disable-fedora-17-selinux/ and I'm still getting 'error' messages in the 'tray' from it. How do I stop it?
The contents of my /etc/selinux/config
:
# This file controls the state of SELinux on the system.
# SELINUX=permissive
# 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
And
$ selinuxenabled && echo enabled || echo disabled
enabled
PS. I do know that I shouldn't disable Selinux. Please respect the question.
Did you reboot after the change? You can use the
getenforce
command to check the status of selinux, rather than checking the return value ofselinuxenabled
I also can't disable it by editing
/etc/selinux/config
. Output ofsestatus
:Does anybody have a solution for it?
I did, several times.
I realize Selinux puts you in trouble, but its a great security feature. If you can solve your problem by fixing your software rather than selinux itself, that the safest option for you, if you are concerned with security.