<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4611.1300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=579053815-10012003><FONT face="Comic Sans MS" color=#000080 
size=2>Not sure this helps you, but make sure your cgi.cfg has these values set 
correctly (or as appropriate; these values work for me):</FONT></SPAN></DIV>
<DIV><SPAN class=579053815-10012003><FONT face="Comic Sans MS" color=#000080 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=579053815-10012003><FONT face="Comic Sans MS" color=#000080 
size=2>authorized_for_system_information=*<BR>authorized_for_configuration_information=*<BR>authorized_for_system_commands=nagiosadmin<BR>authorized_for_all_services=nagiosadmin,guest<BR>authorized_for_all_hosts=nagiosadmin,guest<BR>authorized_for_all_service_commands=nagiosadmin<BR>authorized_for_all_host_commands=nagiosadmin<BR></FONT></SPAN></DIV>
<DIV><SPAN class=579053815-10012003><FONT face="Comic Sans MS" color=#000080 
size=2>jc</DIV></FONT></SPAN>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Olivier Beauchemin (Accolade 
  Group) [mailto:olivier@accoladegroup.net]<BR><B>Sent:</B> Thursday, January 
  09, 2003 9:55 PM<BR><B>To:</B> Jon Lyons; 
  nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re: [Nagios-users] 
  nagios.cmd ... "Sorry, you are not authorized..." -- 
Argh!<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Nope, I don't think that's it. The .htaccess 
  files are already there and working fine.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>If I login as X, I see Y and Z 
  hosts/services. If I login as A, I see B and C hosts/services. That tells 
  me that the basic auth is working. If I login as a user who does not have 
  privs to see process info, it works: I don't get access to the process 
  info. The reverse is true if I login with a user that has privs. So, I'm 
  making the assumption that I've got things configured properly.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>As far as I can tell, I've got the privs for the 
  users to hosts/services config'd properly. I also went line-by-line on the 
  External Command File Permissions doc, and the privs match the doc, and nagios 
  creates the right file on a restart. I also restarted httpd, which runs as 
  apache.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>So, it seems like something I'm seriously 
  missing, or something out of my control?</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Olivier</FONT></DIV>
  <BLOCKQUOTE 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=jlyons30@yahoo.com href="mailto:jlyons30@yahoo.com">Jon Lyons</A> 
    </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=olivier@accoladegroup.net 
    href="mailto:olivier@accoladegroup.net">Olivier Beauchemin (Accolade 
    Group)</A> ; <A title=nagios-users@lists.sourceforge.net 
    href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</A> 
    </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 09, 2003 10:21 
    PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Nagios-users] nagios.cmd 
    ... "Sorry, you are not authorized..." -- Argh!</DIV>
    <DIV><BR></DIV>
    <P>Probably need to re-read the web interface setup, try coping your 
    .htaccess file to the cgi-bin directory... 
</P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>