Re: Query on User account password change details - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: Query on User account password change details
Date
Msg-id 6bc4ea2d4055691bc3e309aa1488721da9c8c2c0.camel@cybertec.at
Whole thread Raw
In response to Re: Query on User account password change details  (Vipin Madhusoodanan <vipin.madhusoodanan@gmail.com>)
List pgsql-admin
On Fri, 2021-05-07 at 15:47 -0500, Vipin Madhusoodanan wrote:
> Can someone help with suggestions or ideas for a workaround to achieve this? 
> 
> > > > > Please advise on the possibilities to retrieve “last password change date”  for a PostgreSQL user account.
> > > > >  We have an audit requirement to identify the password change details for local PostgreSQL user accounts.

You cannot do that unless you want to modify PostgreSQL.

For requirements like this, the recommendation is *not* to use passwords
in the database for authentication.  Use one of the other authentication
methods that uses an external authority.

Identity management systems specialize in that kind of thing, and you may
be able to get that information from there.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




pgsql-admin by date:

Previous
From: Tim
Date:
Subject: pg_repack & pg_squeeze in EPAS 12
Next
From: P C
Date:
Subject: Re: pg_repack & pg_squeeze in EPAS 12