Re: Password authorization

From: Holger Jakobs <holger(at)jakobs(dot)com>
To: Daulat <daulat(dot)dba(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Password authorization
Date: 2022-01-20 11:15:28
Message-ID: 83fe005e-df7b-94fe-c861-6e432c8814da@jakobs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)jakobs(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Daulat 2022-01-20 11:38:31 Re: Password authorization
Previous Message Daulat 2022-01-20 11:11:59 Re: Password authorization