SELinux blocking nagios' cgis on FC5

Chris Stankaitis chris.stankaitis at datawire.net
Fri Jun 23 17:38:46 CEST 2006


Miguel Fernandes wrote:
> It worked!
> 
> I ran the following command:
> 
>     chcon -R system_u:object_r:httpd_sys_script_rw_t /var/log/nagios/ 
> 
> 
> And it's working fine now. Thank you Chris and Jim for your help!
> 
> MFC
> 


Glad to be of help...

Just keep in mind that you have now given the webserver full RW access
to /var/log/nagios... From a security perspective, and as I mentioned
before you could start with httpd_sys_content_t context and only give RW
access to the specific log files that need it.  That will take some work
to get right and you could very well end up in the same spot with the
entire dir needing RW access.  Regardless I am happy your up and running.

--Chris

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list