[Pkg-nagios-devel] Bug#316720: nagios: permission to access cgi

Sitemaster3 Sitemaster3 <hostmaster@khamsa.net>, 316720@bugs.debian.org
Sun, 03 Jul 2005 11:47:04 +0200


Package: nagios
Severity: important
Tags: patch


with the standard installation i get an error during http access:

"you do not have privileges to access information..."

you can solve it by simply

chown -R www-data /etc/nagios
chown nagios /etc/nagios/resource.cfg
chown -R www-data /usr/lib/cgi-bin/nagios

where www-data is the User that apache is running under.

Bye,
Falco




-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-1-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)