pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Holger Jakobs <holger@jakobs.com>
To: Daulat <daulat.dba@gmail.com>
Cc: pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Password authorization
Date: Thu, 20 Jan 2022 12:15:28 +0100
Message-ID: <83fe005e-df7b-94fe-c861-6e432c8814da@jakobs.com> (raw)
In-Reply-To: <CALfOM6KG2WCLs3ErwGo8hEk0sMeZns42SKNdJF8xXWdO2_Acbg@mail.gmail.com>
References: <CALfOM6KtjqpO5pYgmpUmDScJMeftv9r509HfYLo2b8gebviL3g@mail.gmail.com>
	<dcfb2083-e968-6715-1d27-cbf325ab9037@jakobs.com>
	<CALfOM6KG2WCLs3ErwGo8hEk0sMeZns42SKNdJF8xXWdO2_Acbg@mail.gmail.com>

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



Attachments:

  OpenPGP_signature (application/pgp-signature, 202B) download

view thread (13+ messages)  latest in thread

Message-ID: <83fe005e-df7b-94fe-c861-6e432c8814da@jakobs.com>
Permalink:  ../83fe005e-df7b-94fe-c861-6e432c8814da@jakobs.com/
Also on:    postgresql.org/message-id/83fe005e-df7b-94fe-c861-6e432c8814da@jakobs.com

 · 

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: holger@jakobs.com, daulat.dba@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Password authorization
  In-Reply-To: <83fe005e-df7b-94fe-c861-6e432c8814da@jakobs.com>

* 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