[Xymon] Hide username and password in http test

Jeremy Ruffer jeremy.ruffer at gmail.com
Thu Mar 18 15:59:22 CET 2021


The file needs to readable only by the user.

On Thu, 18 Mar 2021, 14:43 KING, KEVIN, <KK1051 at att.com> wrote:

> I have not used this, but based on the other items and the writers of the
> platform, I would put this in the home directory of the user that is
> running the xymon application.
>
>
>
> -Kevin
>
>
>
> *From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Chris Pretorius
> *Sent:* Thursday, March 18, 2021 7:35 AM
> *To:* Xymon Mailing List <xymon at xymon.com>
> *Subject:* [Xymon] Hide usernam and password in http test
>
>
>
> Hi
>
>
>
> Im running a xymon server installed from the Terabithia repository
>
>
>
> Release: xymon-4.3.30-1
>
>
>
> I added a http test that requires basic authentication. The password has
> special characters.
>
>
>
> The test works when I add the username and password in the full url, ie.
> https://server/page.htm?user=User&password=p@sw0rd
> <https://urldefense.com/v3/__https:/server/page.htm?user=User&password=p@sw0rd__;!!BhdT!374AslU01M-gavchN3GUGqP8XwfFNgqNoCReWupQ1GONsSAa_U5Dw_ifFODBWQ$>
>
>
>
> The man pages mention a file ~/.netrc where you can store username and
> password for basic authentication
>
>
>
> Which directory should the file be stored on the server.
>
>
>
> Best regards
>
>
>
>
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20210318/36a10db3/attachment.htm>


More information about the Xymon mailing list