LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   disable selinux (https://www.linuxquestions.org/questions/fedora-35/disable-selinux-478123/)

mrlucio79 08-28-2006 11:38 AM

disable selinux
 
Is there a way to disable selinux? For some reason I more and more errors when running processes. Sometimes it even terminates the process. Is it a good idea to disable selinux? I am using FC5. your input is appreciated!

ramram29 08-28-2006 12:32 PM

To disable immediately run:

setenforce 0

To disable after reboot edit the file /etc/selinux/conf:

SELINUX=disabled

Save it and reboot.

You can also apped the following to your kernel line in grub

selinux=0

MensaWater 08-28-2006 12:41 PM

Quote:

Originally Posted by ramram29
To disable immediately run:

setenforce 0

To disable after reboot edit the file /etc/selinux/conf:

SELINUX=disabled

Save it and reboot.

You can also apped the following to your kernel line in grub

selinux=0

The disable after boot above should be done even if you do the immediate disable so that the next time you boot it doesn't turn selinux back on.

mrlucio79 08-28-2006 01:49 PM

Alright, thanks for the quick response!


All times are GMT -5. The time now is 06:12 PM.