Re: query to show locked / disabled users?

Поиск
Список
Период
Сортировка
От Sbob
Тема Re: query to show locked / disabled users?
Дата
Msg-id 9c619292-cb08-945f-6089-1b26d0bf2218@quadratum-braccas.com
обсуждение исходный текст
Ответ на Re: query to show locked / disabled users?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Got it, thanks


On 4/14/22 13:34, Tom Lane wrote:
> "David G. Johnston" <david.g.johnston@gmail.com> writes:
>> On Thursday, April 14, 2022, Sbob <sbob@quadratum-braccas.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



В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: query to show locked / disabled users?
Следующее
От: Rohit Rajput
Дата:
Сообщение: Seeking help sending alert from pgAgent Jobs