FW: RE: Permissions Error

Potter, G M (Greg) GPotter at MarathonOil.com
Thu Dec 5 23:39:27 CET 2002


What do you have in the cgi.cfg file for the following variables?:

authorized_for_system_information=nagiosadmin
authorized_for_configuration_information=nagiosadmin
authorized_for_system_commands=nagiosadmin
authorized_for_all_services=nagiosadmin
authorized_for_all_hosts=nagiosadmin
authorized_for_all_service_commands=nagiosadmin
authorized_for_all_host_commands=nagiosadmin

Greg

-----Original Message-----
From: Robertson, Brown [mailto:brown.robertson at maac.net]
Sent: Thursday, December 05, 2002 4:14 PM
To: ChrisF at winterlink.net
Cc: Nagios-users at lists.sourceforge.net
Subject: [Nagios-users] RE: Permissions Error


Chris, did you ever find out the cause of your permission error? I am running Red Hat 8.0 and finding the same problem. I have also followed the faq exactly. .htaccess files look good, httpd.conf edited properly. Htpasswd.users file is correct. I'm wondering if it might be some problem with apache under RH 8.0?

Anyone else have any ideas?

Here's what I have in my httpd.conf:

ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory "/usr/local/nagios/sbin/">
            AllowOverride AuthConfig
            Options ExecCGI
            Order allow,deny 
            Allow from all
</Directory>

Alias /nagios/ /usr/local/nagios/share/
<Directory "/usr/local/nagios/share">
            Options None
            AllowOverride AuthConfig
            Order allow,deny
            Allow from all
</Directory>

And in my .htaccess, located in /usr/local/nagios/sbin  and /usr/local/nagios/share

AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user


Then I :

htpasswd -c /usr/local/nagios/etc/htpasswd.users nagios



Still no luck. It will continually request authentication but will never accept it. 

Any ideas?


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list