<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi all, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">On my current prod Xymon (which was built by someone no longer with the company) we are required to supply a userid/passwd for disabling or acknowledging tests.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As far as I can see this is done through the <Directory "/usr/share/xymon/cgi-secure"> part of the httpd.conf (or on my new server Xymon.conf in /etc/httpd/conf.d )<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve got the conf set like the below which is the same as the working system, the /etc/xymon/ xymonpasswd file exists, is owned by apache user and had 64- permissions as required yet I’m not getting prompted for the password when I disable
 a test? Am I missing something? <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><Directory "/usr/share/xymon/cgi-secure"><o:p></o:p></p>
<p class="MsoNormal">    AllowOverride None<o:p></o:p></p>
<p class="MsoNormal">    Options ExecCGI Includes<o:p></o:p></p>
<p class="MsoNormal">    <IfModule mod_authz_core.c><o:p></o:p></p>
<p class="MsoNormal">        # Apache 2.4+<o:p></o:p></p>
<p class="MsoNormal">        Require all granted<o:p></o:p></p>
<p class="MsoNormal">    </IfModule><o:p></o:p></p>
<p class="MsoNormal">    <IfModule !mod_authz_core.c><o:p></o:p></p>
<p class="MsoNormal">        Order allow,deny<o:p></o:p></p>
<p class="MsoNormal">        Allow from all<o:p></o:p></p>
<p class="MsoNormal">    </IfModule><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">    AuthUserFile /etc/xymon/xymonpasswd<o:p></o:p></p>
<p class="MsoNormal">    AuthGroupFile /etc/xymon/xymongroups<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">    AuthType Basic<o:p></o:p></p>
<p class="MsoNormal">    AuthName "Xymon Administration"<o:p></o:p></p>
<p class="MsoNormal">    <RequireAll><o:p></o:p></p>
<p class="MsoNormal">      # "valid-user" restricts access to anyone who is logged in.<o:p></o:p></p>
<p class="MsoNormal">      Require valid-user<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">      # "group admins" restricts access to users who have logged in, AND<o:p></o:p></p>
<p class="MsoNormal">      # are members of the "admins" group in xymongroups.<o:p></o:p></p>
<p class="MsoNormal">      # Require group admins<o:p></o:p></p>
<p class="MsoNormal">    </RequireAll><o:p></o:p></p>
<p class="MsoNormal"></Directory><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
Studio is a trading name of Studio Retail Ltd which is authorised and regulated by the Financial Conduct Authority for consumer credit and general insurance. Studio Retail Ltd are members of the Finance and Leasing Association (FLA). Registered in England.
 No: 718151. Registered Office: Church Bridge House, Henry Street, Accrington, BB5 4EE NOTE: This email and any information contained within or attached in a separate file is confidential and intended solely for the Individual to whom it is addressed. The information
 or data included is solely for the purpose indicated or previously agreed. Any information or data included with this e-mail remains the property of Studio Retail Ltd and the recipient will refrain from utilising the information for any purpose other than
 that indicated and upon request will destroy the information and remove it from their records. Any views or opinions presented are solely those of the author and do not necessarily represent those of Studio Retail Ltd. If you are not the intended recipient,
 be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. No warranties or assurances are made in relation to the safety and content of this e-mail and any
 attachments. No liability is accepted for any consequences arising from it. Studio Retail Ltd reserves the right to monitor all e-mail communications through its internal and external networks. If you have received this email in error, please notify our careline
 on +44(0) 371 200 0378.
</body>
</html>