From: | Sbob <sbob(at)quadratum-braccas(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: query to show locked / disabled users? |
Date: | 2022-04-14 19:36:57 |
Message-ID: | 9c619292-cb08-945f-6089-1b26d0bf2218@quadratum-braccas.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Got it, thanks
On 4/14/22 13:34, Tom Lane wrote:
> "David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
>> On Thursday, April 14, 2022, Sbob <sbob(at)quadratum-braccas(dot)com> wrote:
>>> I have a client that says there were break in attempts and many db users
>>> are now disabled / locked because of too many wrong pw attempts. Is there
>>> a select that will show these users?
>> You can look at pg_roles.
> That probably won't help much, because Postgres has no built-in
> mechanism for disabling users on the basis of "too many wrong pw
> attempts". Whatever has decided that must be external to Postgres
> (perhaps getting accessed via LDAP or PAM?) and you're going to have
> to look at its state. In short, there's not enough info here for
> us to offer any useful advice.
>
> regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Rohit Rajput | 2022-04-15 06:30:20 | Seeking help sending alert from pgAgent Jobs |
Previous Message | Tom Lane | 2022-04-14 19:34:42 | Re: query to show locked / disabled users? |