Re: User to get locked after three wrong login attempts. - Mailing list pgsql-admin

From Stephen Frost
Subject Re: User to get locked after three wrong login attempts.
Date
Msg-id 20180905174832.GO4184@tamriel.snowman.net
Whole thread Raw
In response to Re: User to get locked after three wrong login attempts.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: User to get locked after three wrong login attempts.
List pgsql-admin
Greetings,

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Praneel Devisetty <devisettypraneel@gmail.com> writes:
> > We have a requirement , where we require a user to get locked after three
> > wrong login attempts.
>
> The usual recommendation is to configure Postgres to use PAM
> authentication; then you can set up any weird requirements like
> this one in the PAM configuration.

Unfortunately, it's a pain to set up PAM and there's a lot of things in
the PAM stack which can't be used because PostgreSQL doesn't run as
root.  We should really have a better solution to this pretty commonly
asked for capability; I'm hoping to find time soon to hack on that.

Thanks!

Stephen

Attachment

pgsql-admin by date:

Previous
From: Evan Bauer
Date:
Subject: Re: How to get alerted automatically whenever a table structure ischanged between Publisher and Subscriber in Logical Replication?
Next
From: Mark Steben
Date:
Subject: will this upgrade strategy work?