From: Marc P. <ma...@en...> - 2005-01-25 21:01:15
|
That change is very odd. I haven't seen that happen before but it indicates that your web server isn't setting the REMOTE_USER environment variable properly for this CGI. Is cmd.cgi in the same directory as the other cgi's? Have you tried it with a different browser? At what point exactly do you see the error, i.e. when you click on 'Acknowledge this service problem' or other command or when you try to submit the parameters for the selected command? Also, what version of Nagios are you using, OS, web server, etc... -- Marc > -----Original Message----- > From: nag...@li... [mailto:nagios-users- > ad...@li...] On Behalf Of Ingo Claro > Sent: Tuesday, January 25, 2005 2:14 PM > To: Marc Powell; nag...@li... > Subject: RE: [Nagios-users] not authorized, config seems ok. >=20 > Marc: >=20 > In all the pages appears "logged in as miclaro", except in the error page, > there it appears "logged in as ?" >=20 > Regards, > Ingo >=20 >=20 >=20 > -----Mensaje original----- > De: Marc Powell [mailto:ma...@en...] > Enviado el: Martes, 25 de Enero de 2005 16:59 > Para: Ingo Claro; nag...@li... > Asunto: RE: [Nagios-users] not authorized, config seems ok. >=20 >=20 >=20 > > -----Original Message----- > > From: nag...@li... [mailto:nagios-users- > > ad...@li...] On Behalf Of Ingo Claro > > Sent: Tuesday, January 25, 2005 1:18 PM > > To: nag...@li... > > 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=3D1 > > > > authorized_for_system_information=3Dmiclaro > > authorized_for_configuration_information=3Dmiclaro > > authorized_for_system_commands=3Dmiclaro > > authorized_for_all_services=3Dmiclaro > > authorized_for_all_hosts=3Dmiclaro > > authorized_for_all_service_commands=3Dmiclaro > > authorized_for_all_host_commands=3Dmiclaro >=20 > 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. >=20 > -- > Marc >=20 >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > 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 > Nag...@li... > 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 |