how to disable SELinux for httpd (fc3, no X)

From: ben (usenet_at_bens-house.org.uk)
Date: 09/15/05


Date: Thu, 15 Sep 2005 16:08:56 +0100

Hi,

I have a server running FC3. I am having problems accessing MySQL through
PHP and after some googling have determined that I need to disable SELinux
for httpd. I ran system-config-security level, but it only gave me the
option to configure the firewall, nothing about SELinux.

I have another machine, which is a desktop running fc4. On that machine I
can configure SELinux if I run system-config-security level in the gui.
>From the console, I can only configure the firewall.

So, the question is - how can I configure SELinux from a console in FC3? I
specifically want to know how to disable it for httpd, but want to
understand the whole process in case I hit other snags!

Cheers,

Ben



Relevant Pages

  • Re: Trouble starting postgresql
    ... can just disable SELinux on the whole system or disable SELinux for postgresql. ... Disabling SELinux for postgresql allowed service startup. ... From that it should be possible to make a local policy module that will fix the SELinux problems and enable you to run in enforcing mode again. ...
    (Fedora)
  • Re: Trouble starting postgresql
    ... can just disable SELinux on the whole system or disable SELinux for ... The proper way would be to set the correct security contexts to ... Disabling SELinux for postgresql allowed service startup. ...
    (Fedora)
  • Re: Trouble starting postgresql
    ... can just disable SELinux on the whole system or disable SELinux for ... The proper way would be to set the correct security contexts to ... Disabling SELinux for postgresql allowed service startup. ...
    (Fedora)
  • Re: Trouble starting postgresql
    ... can just disable SELinux on the whole system or disable SELinux for ... The proper way would be to set the correct security contexts to ... Disabling SELinux for postgresql allowed service startup. ...
    (Fedora)
  • Re: SElinux
    ... SELinux is not just about systems with local account access but about ... security layering so that if one element is broken, ... Is there any risk if you disable SELinux? ...
    (Fedora)