[CentOS] disable SELinux

Hiep Nguyen hiep at ee.ucr.edu
Tue Mar 4 18:51:57 UTC 2008


On Tue, 4 Mar 2008, Alex White wrote:

> On Tue, 4 Mar 2008 09:29:34 -0800 (PST)
> Hiep Nguyen <hiep at ee.ucr.edu> took out a #2 pencil and scribbled:
>
>> On Tue, 4 Mar 2008, Tom Brown wrote:
>>
>>>
>>>>
>>>>
>>>> with minimal installation on centos 5, selinux also included.
>>>> how do i remove selinux or disable it at least?
>>>>
>>>
>>>
>>> cat /etc/sysconfig/selinux
>>>
>>> you'll figure it out from there!
>>>
>>
>> what command i can issue to enforce the change w/o reboot the box.
>>
>> thanks.
>> t. hiep
>
> man setenforce
>
> Are you sure you really want to turn off selinux?
>
> If you reboot, unless you change /etc/sysconfig/selinux, your
> machine will have selinux re-enabled.

for testing, i need to disable selinux, but something still not working 
right.

i'm trying to figure out why i can't access http://10.0.0.160 from the 
same network (10.0.0.x).

on 10.0.0.160 box, i can access http://localhost, or http://10.0.0.160, 
but from any other computer, i can't.

any advice how to troubleshoot this? thanks.

t. hiep



More information about the CentOS mailing list