Hi Martin,

I'm so sorry to reply so long after your answer - I had to let this on the
side for a while. So I came back to it and added the indeed missing PAM
configuration (/etc/pam.d/monit => content the same as on the
documentation). But still, my user get refuses:

[CET Nov 13 15:47:46] error    : Warning: Client '192.168.122.245' supplied
wrong password for user 'rpelisse' accessing monit httpd

I've double checked and the password is right. But the user is coming from
LDAP (using kerberos), so maybe I need to tweak the configuration above the
default one ?





On 22 September 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
>
> Regards,
> Martin
>
>
>
> On 20 Sep 2015, at 14:26, Romain Pelisse <[email protected]> wrote:
>
> No idea ? Nobody used groups to authentificate user ?
>
> On 17 September 2015 at 09:09, Romain Pelisse <[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
>
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>



-- 
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

Reply via email to