Re: Query on User account password change details

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Vipin Madhusoodanan <vipin(dot)madhusoodanan(at)gmail(dot)com>, Vijaykumar Jain <vijaykumarjain(dot)github(at)gmail(dot)com>, pgsql-admin(at)lists(dot)postgresql(dot)org
Cc: Holger Jakobs <holger(at)jakobs(dot)com>
Subject: Re: Query on User account password change details
Date: 2021-05-08 03:44:52
Message-ID: 6bc4ea2d4055691bc3e309aa1488721da9c8c2c0.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message P C 2021-05-08 05:34:15 Re: pg_repack & pg_squeeze in EPAS 12
Previous Message Tim 2021-05-08 00:18:33 pg_repack & pg_squeeze in EPAS 12