Hide usernam and password in http test
list Chris Pretorius
Thu, 18 Mar 2021 11:34:33 +0000
Message-Id: <user-d1e82d587ee3@xymon.invalid>
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 at sw0rd
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