<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)">
<!--[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]--><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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        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",serif;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 56.7pt 56.7pt 56.7pt;}
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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have the same problem as Alessandro. I running SLES 12.2.<o:p></o:p></p>
<p class="MsoNormal">Same result, try different way, no prompt of user.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks to help<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">David Raymond<br>
</span><span style="font-size:7.5pt;font-family:"Arial",sans-serif"><br>
<b>D:</b> 450.357.7000 x7064 <b>C:</b> 514.603.0986 <b>F:</b> 450.357.7050<br>
<a href="www.batiparbarrette.com"><span style="color:#636563">www.batiparbarrette.com</span></a></span><span style="font-size:12.0pt;font-family:"Arial",sans-serif">
<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:12.0pt;font-family:"Arial",sans-serif"><img border="0" width="129" height="54" style="width:1.3437in;height:.5625in" id="_x0000_i1025" src="cid:image001.gif@01D25B7B.FEFB9010" alt="Logo Barrette"></span><span style="font-size:12.0pt;font-family:"Arial",sans-serif"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Xymon [mailto:xymon-bounces@xymon.com] <b>On Behalf Of
</b>Alessandro Tinivelli<br>
<b>Sent:</b> Wednesday, December 14, 2016 12:06 PM<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> [Xymon] restrict access to Xymon not working as expected<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="IT">Hallo everyone,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="IT"><o:p> </o:p></span></p>
<p class="MsoNormal">sorry if the question has already been asked, but i could not find any answer in google:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">my brand new xymon installation (Xymon 4.3.27-1.el7.terabithia) on Centos7 has the liens below in apache config file:<o:p></o:p></p>
<p class="MsoNormal">I have created the /etc/xymon/xymonpasswd file , but the access is still free with no pass request.<o:p></o:p></p>
<p class="MsoNormal">Is there something I did not understand? Should this file located somewhere else?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you in advance<o:p></o:p></p>
<p class="MsoNormal">Alessandro<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">----<o:p></o:p></p>
<p class="MsoNormal"># Password file where users with access to these scripts are kept.<o:p></o:p></p>
<p class="MsoNormal">    # Although expected in $XYMONHOME/etc/ by the useradm and chpasswd<o:p></o:p></p>
<p class="MsoNormal">    # scripts, files here can be read with the "config" message type,<o:p></o:p></p>
<p class="MsoNormal">    # which allows status-privileged clients to read arbitrary regular files<o:p></o:p></p>
<p class="MsoNormal">    # from the directory.<o:p></o:p></p>
<p class="MsoNormal">    #<o:p></o:p></p>
<p class="MsoNormal">    # This file should be owned and readable only by the apache server user,<o:p></o:p></p>
<p class="MsoNormal">    # and ideally merely a symlink to a location outside of $XYMONHOME/etc/<o:p></o:p></p>
<p class="MsoNormal">    #<o:p></o:p></p>
<p class="MsoNormal">    # Create it with:<o:p></o:p></p>
<p class="MsoNormal">    #   htpasswd -c /etc/xymon/xymonpasswd USERNAME<o:p></o:p></p>
<p class="MsoNormal">    #   chown apache:apache /etc/xymon/xymonpasswd<o:p></o:p></p>
<p class="MsoNormal">    #   chmod 640 /etc/xymon/xymonpasswd<o:p></o:p></p>
<p class="MsoNormal">    # Add more users / change passwords with: "htpasswd /etc/xymon/xymonpasswd USERNAME"<o:p></o:p></p>
<p class="MsoNormal">    #<o:p></o:p></p>
<p class="MsoNormal">    # You can also use a group file to restrict admin access to members of a<o:p></o:p></p>
<p class="MsoNormal">    # group, instead of anyone who is logged in. In that case you must setup<o:p></o:p></p>
<p class="MsoNormal">    # the "xymongroups" file, and change the "Require" settings to require<o:p></o:p></p>
<p class="MsoNormal">    # a specific group membership. See the Apache docs for more details.<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">    AuthType Basic<o:p></o:p></p>
<p class="MsoNormal">    AuthName "Xymon Administration"<o:p></o:p></p>
<p class="MsoNormal"><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>
</div>
</body>
</html>