Permissions Error

Robertson, Brown brown.robertson at maac.net
Fri Dec 6 17:29:40 CET 2002


Very interesting. I've chmod'd my entire nagios folders and double
checked the .htaccess files to the same conclusion. The only correlation
I can observe between us would have to be a RH8.0 + apache combination.
Crazy. 

-----Original Message-----
From: Chris Fairbanks [mailto:ChrisF at winterlink.net] 
Sent: Friday, December 06, 2002 1:22 AM
To: Chris Fairbanks; wrnash; Potter, G M (Greg); Nagios-users (E-mail)
Cc: Robertson, Brown
Subject: RE: [Nagios-users] RE: Permissions Error

Another interesting tibit, I tired disabling use_authentication and
setting up a default user, but I still get the same issues.

	Thanks
	Chris


-----Original Message-----
From: Chris Fairbanks 
Sent: Thursday, December 05, 2002 10:47 PM
To: wrnash; Potter, G M (Greg); Nagios-users (E-mail)
Cc: Robertson, Brown
Subject: RE: [Nagios-users] RE: Permissions Error


My httpasswd.users file and everything is setup totally correctly and
use_authentication=1 is set.  I have also tried setting all the
authorized_for's = * but to no avail.  From the sounds of it, it looks
like this might be an issue with RH8.0 or Apache 2.0.40 that ships
default with RH8.0.  Is there anyone on this list that has Nagios
working on RH8.0?

	Thanks,
	Chris



-----Original Message-----
From: wrnash [mailto:wrnash at wrnash.net] 
Sent: Thursday, December 05, 2002 3:59 PM
To: 'Potter, G M (Greg)'; 'Nagios-users (E-mail)'
Subject: RE: [Nagios-users] RE: Permissions Error


Have you did: 
htpasswd /usr/local/nagios/etc/htpasswd.users username

And also is use_authentication=1
Do you get any error when you type /usr/local/nagios/bin/nagios -v <main
configuration file> example would be /usr/local/nagios/etc/nagios.cfg


Thanks Bill Nash

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Potter, G
M (Greg)
Sent: Thursday, December 05, 2002 5:39 PM
To: Nagios-users (E-mail)
Subject: FW: [Nagios-users] RE: Permissions Error

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 _______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


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




More information about the Users mailing list