the last 5 hours I tried to get the access control work properly - unsuccessfully!
On the one hand is my goal that the web interface is accessible via the Internet and requires a user / password which is also read-only.
On the other hand do I want that all the Monit-commands work for the root user.
So I tried many different configurations and at last this:
This configuration met 2 of 3 requirements, because read-only seems not to be possible. If I add the "readonly" parameter the user will be read-only, but for whatever reason the CLI-commands won't work anymore - and return the following error message:
cannot read status from the monit daemon
Do I miss something? Is it possible to configure Monit to met all of my requirements?
I would be very grateful if you could help me!