When enable password file for credentials not authorized in localhost
Issue #503
closed
When use this syntax in command line "monit status" run fine
set httpd port 2812 allow localhost allow pepe:linux
But use a file. monit respond "You are not authorized to access monit......"
set httpd port 2812 allow localhost allow md5 /etc/monitrc.passwd
Comments (2)
-
repo owner -
repo owner - changed status to closed
- Log in to comment
Monit CLI works via the http interface on client-server basis ... the CLI in client role needs to read the password so it can send it to the server - in the case of htpasswd file it's not possible.
This limitation is documented in monit manual, https://mmonit.com/monit/documentation/monit.html#Authentication: