[CentOS] disable SELinux

Matt Hyclak hyclak at math.ohiou.edu
Tue Mar 4 19:02:31 UTC 2008


On Tue, Mar 04, 2008 at 10:51:57AM -0800, Hiep Nguyen enlightened us:
> >On Tue, 4 Mar 2008 09:29:34 -0800 (PST)
> 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.
> 

As was suggested earlier, it sounds like a firewall issue. You should check
your firewall settings. If you don't know how to do that, I'm sure it's in
the guide I pointed you to yesterday.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263



More information about the CentOS mailing list