Re: Password authorization

Поиск
Список
Период
Сортировка
От Daulat
Тема Re: Password authorization
Дата
Msg-id CALfOM6+amG4KNP5RJjhHtz3Yq=3fackQm0440tOceS7XR2vwDQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Password authorization  (Holger Jakobs <holger@jakobs.com>)
Список pgsql-admin
Thanks Holger,
Yes I know about this change. 
But I am looking to work on 'Postgres Database User Authentication' . But it looks like postgres has some limitations related to user authentication  and it's expiration. 

So I am looking for a good approach in postgres , like in Oracle we have !

Thanks.


 




On Thu, Jan 20, 2022 at 4:45 PM Holger Jakobs <holger@jakobs.com> wrote:
Am 20.01.22 um 12:11 schrieb Daulat:
Hi Holger,

Is there any change related to password management in Postgres14 with respect to previous releases. I don't see anything new.

Thanks

On Thu, Jan 20, 2022 at 3:36 PM Holger Jakobs <holger@jakobs.com> wrote:
Am 20.01.22 um 10:56 schrieb Daulat:
> Hi Team,
>
> Do we have any facility for password authorisation in Postgres same as
> in Oracle?
> In Oracle, a user can change their password based upon the
> profile setting. What about in Postgres ?
>
> Is there any alternative in postgres to manage the user password
> authorisation?
> What about LDAP with respect to this approach?
> Please suggest.
>
> Thanks.
>
>

https://www.postgresql.org/docs/14/sql-alterrole.html contains the sentence:

     Ordinary roles can only change their own password.




Yes, there is. The default password hashing method has changed in postgresql.conf:

Version 13:
#password_encryption = md5        # md5 or scram-sha-256

Version 14:
#password_encryption = scram-sha-256    # scram-sha-256 or md5

-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012

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

Предыдущее
От: Holger Jakobs
Дата:
Сообщение: Re: Password authorization
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Password authorization