turn off SElinux

Kam Leo kam.leo at gmail.com
Mon Apr 25 02:34:18 UTC 2005


On 4/24/05, Jim Cornette <fc-cornette at insight.rr.com> wrote:
> 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
> 

Sorry, my mistake. I confused the section regarding system-call
auditing with enforcing.




More information about the fedora-list mailing list