Re: Require details that can we see the password history to a User account in PostgreSQL Database. - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Require details that can we see the password history to a User account in PostgreSQL Database.
Date
Msg-id 10103f4c-5afb-8f61-cc81-4011ee8dbda7@aklaver.com
Whole thread Raw
In response to Require details that can we see the password history to a User account in PostgreSQL Database.  ("Sonai muthu raja M" <Sonaimuthu.Raja@sifycorp.Com>)
Responses Re: Require details that can we see the password history to a User account in PostgreSQL Database.  ("Sonai muthu raja M" <Sonaimuthu.Raja@sifycorp.Com>)
List pgsql-general
On 4/16/22 00:31, Sonai muthu raja M wrote:
> Dear Adrian,
> 
> Yes, exactly. My query regardingan application user that when passwords 
> were changed and what the previous values were?

1) Postgres has not built in process to audit changes to it's own roles.

2) That also means it does not audit whatever you are doing in the 
application above it.

3) Assuming the application user information is stored in a Postgres 
table you could create a trigger on the table that stores the changes in 
a separate audit table.

> 
> Kindly let us know the above information since this detail require for 
> an internal auditing purpose.
> 
> Thanks.
> 
> */Warm regards,/**/
> 
> M Sonai Muthu Raja


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Help with large delete
Next
From: "Sonai muthu raja M"
Date:
Subject: Re: Require details that can we see the password history to a User account in PostgreSQL Database.