Hi, the PAM configuration example from monit manual sets access for traditional unix users (/etc/passwd + /etc/shadow), if you use LDAP, you'll need to modify it.
Regards, Martin > On 22 Sep 2015, at 11:59, Martin Pala <[email protected]> wrote: > > Hi, > > did you add the PAM configuration for monit as described in the manual?: > https://mmonit.com/monit/documentation/monit.html#PAM > <https://mmonit.com/monit/documentation/monit.html#PAM> > > Regards, > Martin > > > >> On 20 Sep 2015, at 14:26, Romain Pelisse <[email protected] >> <mailto:[email protected]>> wrote: >> >> No idea ? Nobody used groups to authentificate user ? >> >> On 17 September 2015 at 09:09, Romain Pelisse <[email protected] >> <mailto:[email protected]>> wrote: >> Hi all, >> >> I'm trying to add auth to the httpd webapp of monit, and thus following the >> documentation I have the following config: >> >> set httpd port 2812 >> allow @jboss >> >> I have a group called jboss and the user belaran is in it: >> >> [root@zeus ~]# grep jboss /etc/group >> jboss:x:185: >> [root@zeus ~]# groups belaran >> belaran : jboss >> >> >> However, whenever I try to log in the webapp with this user, I get the >> following error message: >> >> Monit/PAM: supplied wrong password for user 'belaran' accessing monit httpd >> >> It sounds like something "bad" is happening between Monit and PAM, because I >> can log into the system without out any issue. It's just monit who fails to >> authentificate the user... >> >> Any clue on what could be going wrong here ? >> >> Thanks ! >> >> FYI: >> >> # yum info monit >> Installed Packages >> Name : monit >> Arch : x86_64 >> Version : 5.1.1 >> Release : 4.el6 >> Size : 574 k >> Repo : installed >> From repo : epel >> >> >> >> >> >> -- >> Romain PELISSE, >> "The trouble with having an open mind, of course, is that people will insist >> on coming along and trying to put things in it" -- Terry Pratchett >> Belaran ins Prussia (blog) <http://blog.wordpress.belaran.eu/> (... >> finally up and running !) >> >> >> >> -- >> Romain PELISSE, >> "The trouble with having an open mind, of course, is that people will insist >> on coming along and trying to put things in it" -- Terry Pratchett >> Belaran ins Prussia (blog) <http://blog.wordpress.belaran.eu/> (... >> finally up and running !) >> -- >> To unsubscribe: >> https://lists.nongnu.org/mailman/listinfo/monit-general >> <https://lists.nongnu.org/mailman/listinfo/monit-general> > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
