<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoToc1, li.MsoToc1, div.MsoToc1
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Arial;
        font-weight:bold;}
p.MsoToc2, li.MsoToc2, div.MsoToc2
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:Arial;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Actually that was all fine.  The user was
in the htpasswd.users file.  <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>It turned out to be a permissions issue on
the directories themselves.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>-Lori<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Mehmet Fatih AKBULUT
[mailto:mfatihakbulut@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, November 16, 2005
10:05 AM<br>
<b><span style='font-weight:bold'>To:</span></b>
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Cc:</span></b> <st1:PersonName w:st="on">Lori
 Adams</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Nagios-users] Logged
in as ?</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>first create a .htaccess
file both in your nagios and in cgi-bin directories. and put the datas below in
it <br>
<br>
<strong><b><font face="Times New Roman"><span style='font-weight:normal'>AuthName
"Nagios Access" </span></font></b></strong><br>
<strong><b><font face="Times New Roman"><span style='font-weight:normal'>AuthType
Basic </span></font></b></strong><br>
<strong><b><font face="Times New Roman"><span style='font-weight:normal'>AuthUserFile
/usr/local/nagios/etc/htpasswd.users </span></font></b></strong><br>
<strong><b><font face="Times New Roman"><span style='font-weight:normal'>require
valid-user </span></font></b></strong><br>
<b><span style='font-weight:bold'><br>
</span></b>then create a htpasswd.users file with the command below :<br>
<br>
<strong><b><font color=red face="Times New Roman"><span style='color:red'>htpasswd
-c /usr/local/nagios/etc/htpasswd.users nagiosadmin</span></font></b></strong> <br>
<br>
and after creating this file u can add as many users as u want.<br>
by the way, pay attention to the directories!!! it may be different on your
system. <br>
(i mean /usr/local/nagios/etc ... etc) <br>
<br>
(ps: these are all written in the documentation. u should read all the pages
again :p)<br>
<br>
<br>
<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 11/16/05, <st1:PersonName w:st="on"><b><span
 style='font-weight:bold'>Lori Adams</span></b></st1:PersonName> <<a
href="mailto:ladams@cloudmark.com"> ladams@cloudmark.com</a>> wrote:</span></font></span><o:p></o:p></p>

<div>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>It
appears that authentication is setup correctly with nagios.2.04b and apache
1.  I'm able to use authentication to log in, yet in the top corner, it
says "Logged in as ?".</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Has
anyone seen this and remember how to fix it?</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>-Lori</span></font><o:p></o:p></p>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</div>

</body>

</html>