Re: password_rollover_time like Oracle - Mailing list pgsql-admin

From Rui DeSousa
Subject Re: password_rollover_time like Oracle
Date
Msg-id 15238DA9-4334-4838-9729-0B32CD83509F@icloud.com
Whole thread Raw
In response to Re: password_rollover_time like Oracle  (Bruce Momjian <bruce@momjian.us>)
List pgsql-admin


On Jun 20, 2024, at 10:46 PM, Bruce Momjian <bruce@momjian.us> wrote:

I can see that causing problems if you want to store CURRENT_USER in the
database, perhaps for auditing.  I guess you could call it user4_login12
and keep incrementing the login number, but that seems cumbersome.

-- 
 Bruce Momjian  <bruce@momjian.us>        https://momjian.us
 EDB                                      https://enterprisedb.com

 Only you can decide what is important to you.

I don’t think it’s too much of an issue for auditing as it’s same name with an embedded date code; however, I do think that changing a password every other month is cumbersome busy work and there are better ways to secure the account.  The problem I’ve seen with this type of solution is the application owners would commonly forget to update password information and then the application would stop working causing a scramble to update the credentials.  Then there is the account management itself, dropping expired users and creating new users for the upcoming month.  

pgsql-admin by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: password_rollover_time like Oracle
Next
From: Kashif Zeeshan
Date:
Subject: Re: Monitoring Script for Postgres