monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monit/PAM: supplied wrong password for user '...' accessing monit ht


From: Martin Pala
Subject: Re: Monit/PAM: supplied wrong password for user '...' accessing monit httpd
Date: Fri, 13 Nov 2015 16:00:25 +0100

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 <address@hidden> 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 <address@hidden> wrote:

No idea ? Nobody used groups to authentificate user ?

On 17 September 2015 at 09:09, Romain Pelisse <address@hidden> 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:

address@hidden ~]# grep jboss /etc/group
jboss:x:185:
address@hidden ~]# 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)     (... 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)     (... finally up and running !)
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

[Prev in Thread] Current Thread [Next in Thread]