authentication
Marc Powell
marc at ena.com
Thu Mar 18 15:22:19 CET 2004
Who does nagios show you logged in as? If it's '?', do you have a
.htaccess file in the sbin directory?
--
Marc
________________________________
From: Josh Anderson [mailto:jda8527 at yahoo.com]
Sent: Thursday, March 18, 2004 7:44 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] authentication
I seem to be having some difficulties with nagios authentication. I had
no trouble with 1.1 but after installing 1.2 on another machine I'm
having this problem...
Nagios is installed, configured, etc... Apache is setup to require a
password in the /nagios directory. I started with setting
use_authentication=0 in cgi.cfg.
I enter in the URL for nagios and apache asks for a user/password. I
enter it:
username: jda
password: xxxxxx
Apache authenticates me and lets me in. I can then use all features of
nagios.
I then set use_authentication=1 and set the following:
authorized_for_system_information=jda
authorized_for_configuration_information=jda
authorized_for_system_commands=jda
authorized_for_all_services=jda
authorized_for_all_hosts=jda
authorized_for_all_service_commands=jda
authorized_for_all_host_commands=jda
Restart nagios, close my browser, and try again.
Now, apache authenticates but Nagios is saying:
"It appears as though you do not have permission to view information for
any of the services you requested...If you believe this is an error,
check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file."
I can set default_user_name=jda and everything works fine (even with
use_authentication=1).
Anyone know what is going on?
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
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