pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Praneel Devisetty <devisettypraneel@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: User to get locked after three wrong login attempts.
Date: Tue, 04 Sep 2018 10:06:04 -0400
Message-ID: <30655.1536069964@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHnVB4C9tSJkD4Ysd645HJmJjWzNYKJgUumE74YY8FRjUFJE4g@mail.gmail.com>
References: <CAHnVB4C9tSJkD4Ysd645HJmJjWzNYKJgUumE74YY8FRjUFJE4g@mail.gmail.com>

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.

			regards, tom lane




view thread (9+ messages)  latest in thread

Message-ID: <30655.1536069964@sss.pgh.pa.us>
Permalink:  ../30655.1536069964@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/30655.1536069964@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, devisettypraneel@gmail.com
  Subject: Re: User to get locked after three wrong login attempts.
  In-Reply-To: <30655.1536069964@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox