not authorized, config seems ok.
Ingo Claro
miclaro at netred.cl
Wed Jan 26 13:14:48 CET 2005
In Linux, compiled from scratch following the manual instructions.
But I "solved" the problem.
I had the following .htaccess:
AuthUserFile /path to passwords
AuthGroupFile /dev/null
AuthName Nagios
AuthType Basic
<Limit GET>
require user aaaaa
require user bbbbbb
require user miclaro
</Limit>
So I could use the same passwords I already have.
If I change it to the recommended .htaccess:
AuthUserFile /path to passwords
AuthName Nagios
AuthType Basic
require valid-user
it works!. But now everybody has access to nagios, To limit it to a few
logins I have to make another passwords file?
Regards
Ingo
To: nagios-users at lists.sourceforge.net
From: "Matthijs Macaré" <matthijs.macare at xs4all.nl>
Date: Tue, 25 Jan 2005 22:14:30 +0100
Reply-To: "Matthijs Macaré" <matthijs.macare at xs4all.nl>
Subject: [Nagios-users] Re: not authorized, config seems ok.
On what OS are you running and how did you install it ?
"Ingo Claro" <miclaro at netred.cl> schreef in bericht
news:E1CtX4Q-0003wZ-Tm at sc8-sf-mx2.sourceforge.net...
> Marc:
>
> In all the pages appears "logged in as miclaro", except in the error page,
> there it appears "logged in as ?"
>
> Regards,
> Ingo
>
>
>
> -----Mensaje original-----
> De: Marc Powell [mailto:marc at ena.com]
> Enviado el: Martes, 25 de Enero de 2005 16:59
> Para: Ingo Claro; nagios-users at lists.sourceforge.net
> Asunto: RE: [Nagios-users] not authorized, config seems ok.
>
>
>
>> -----Original Message-----
>> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
>> admin at lists.sourceforge.net] On Behalf Of Ingo Claro
>> Sent: Tuesday, January 25, 2005 1:18 PM
>> To: nagios-users at lists.sourceforge.net
>> Subject: [Nagios-users] not authorized, config seems ok.
>>
>> Hello All,
>>
>> I configured nagios following the excelent documentation provided, but
> i'm
>> stuck with issuing commands from the web interface.
>> For excample i can't "Acknowledge this service problem" I get a "not
>> authorized" error.
>>
>> these are my settings, apache runs as nobody.
>>
>> /etc/group: nagcmd:x:5250:nobody,nagios
>>
>> drwxrwsr-x 2 nagios nagcmd 4096 Jan 25 12:42 rw
>>
>> cgi.cfg:
>> use_authentication=1
>>
>> authorized_for_system_information=miclaro
>> authorized_for_configuration_information=miclaro
>> authorized_for_system_commands=miclaro
>> authorized_for_all_services=miclaro
>> authorized_for_all_hosts=miclaro
>> authorized_for_all_service_commands=miclaro
>> authorized_for_all_host_commands=miclaro
>
> Does Nagios see you logged in as miclaro? In the upper left hand corner
> of any page you should see 'Logged in as miclaro'. If you do not, your
> .htaccess file in the sbin directory isn't working properly. If you only
> have the htaccess file in your share directory, while you'll be prompted
> to login, that information will not be available to the CGI's.
>
> --
> Marc
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> 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
>
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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