httpd: different accounts for unixsocket and tcp port

Issue #591 wontfix
cgzones created an issue

Currently when using both httpd options, accounts are shared.

With the following configuration

SET HTTPD UNIXSOCKET /run/monit.socket
        allow admin:admin_password

set httpd port 2812 and
        allow ro_user:ro_user_password read-only

one is able to login via the web-interface as user admin.

It would be nice if the interfaces have separate accounts, so a read-only web-interface is possible with a concurrent working cli.

Comments (3)

  1. Tildeslash repo owner

    Monit supports only one httpd interface which can listen on both unix socket and TCP socket (or one of them) - the "allow" settings is shared.

  2. Log in to comment