turn off SElinux

Jim Cornette fc-cornette at insight.rr.com
Mon Apr 25 02:13:27 UTC 2005


Kam Leo wrote:
> On 4/24/05, Khoa Ton <khoa at puresynergy.com> wrote:
> 
>>jim lawrence wrote:
>>
>>>I need to turn off SElinux for a test
>>>Can i do this without a reboot ?
>>>if so , How?
>>
>>Here are various ways to disable SELinux on FC3, as per the FAQ:
>>
>>http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#faq-div-controlling-selinux
>>
>>Khoa
>>
> 
> 
> For those who did not follow the reference the short answer is you cannot.
> 

setenforce 0
will turn off selinux for test purposes (as root). I need to use this 
feature for testing.
I relabel the system after using this feature though
setenforce 1
will re-enable SELinux

You don't reboot with this option.

Jim

-- 
It's lucky you're going so slowly, because you're going in the wrong 
direction.




More information about the fedora-list mailing list