pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: postbox giridhar <giridharpostbox@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Lock after several failed login attempts
Date: Tue, 09 Mar 2021 13:20:27 -0500
Message-ID: <2037257.1615314027@sss.pgh.pa.us> (raw)
In-Reply-To: <CALjFJF2TdnNZ3ZbFBV8Dn4BWdiJSn_zCoWw_82wUjbnHR6VSZg@mail.gmail.com>
References: <CALjFJF2TdnNZ3ZbFBV8Dn4BWdiJSn_zCoWw_82wUjbnHR6VSZg@mail.gmail.com>

postbox giridhar <giridharpostbox@gmail.com> writes:
> Is it possible to lock a database user after several failed login attempts.

No such thing is built into PG.  You can use external authentication
solutions, such as PAM, for this and related requirements.

			regards, tom lane





view thread (5+ messages)  latest in thread

Message-ID: <2037257.1615314027@sss.pgh.pa.us>
Permalink:  ../2037257.1615314027@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2037257.1615314027@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, giridharpostbox@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Lock after several failed login attempts
  In-Reply-To: <2037257.1615314027@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