[Pkg-nagios-devel] Bug#471181: Bug#471181: /var/lib/nagios3/rw/nagios.cmd not writeable for user www-data
Alexander Wirt
formorer at debian.org
Sun Mar 16 14:47:14 UTC 2008
close 471181
thanks
Matthias Haider schrieb am Sunday, den 16. March 2008:
Hi,
> Package: nagios3
> Version: 3.0~rc2-1-1
> Severity: important
>
> Because the file /var/lib/nagios3/rw/nagios.cmd is not
> writeable for the user www-data, under which apache is running,
> no commands can be submitted by using the www-interface.
>
> can be fixed by
> chmod o+x /var/lib/nagios3/
> chmod g+x /var/lib/nagios3/rw/
> chown nagios:www-data /var/lib/nagios3/rw/nagios.cmd
You mean as mentioned in README.Debian:
----
External Commands
^^^^^^^^^^^^^^^^^
Nagios 3 is not configured to look for external commands in the
default configuration as a security feature. To enable external
commands, you need to allow the web server write access to the
nagios command pipe.
...
And so on.
Closing this "Bug" now.
Alex
More information about the Pkg-nagios-devel
mailing list