not authorized, config seems ok.

Ingo Claro miclaro at netred.cl
Tue Jan 25 21:13:34 CET 2005


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





More information about the Users mailing list