Record last password change

Поиск
Список
Период
Сортировка
От Michael Banck
Тема Record last password change
Дата
Msg-id 1544524431.30106.3.camel@credativ.de
обсуждение исходный текст
Ответы Re: Record last password change  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Re: Record last password change  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Record last password change  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Hello,

a customer recently mentioned that they'd like to be able to see when a
(md5, scram) role had their password last changed. 

Use-cases for this would be issueing an initial password and then later
making sure it got changed, or auditing that all passwords get changed
once a year. You can do that via external authentication methods like
ldap/gss-api/pam but in some setups those might not be available to the
DBAs.

I guess it would amount to adding a column like rolpasswordchanged to
pg_authid and updating it when rolpassword changes, but maybe there is a
better way?

The same was requested in https://dba.stackexchange.com/questions/91252/
how-to-know-when-postgresql-password-is-changed so I was wondering
whether this would be a welcome change/addition, or whether people think
it's not worth bothering to implement it?

Thoughts?



Michael

-- 
Michael Banck
Projektleiter / Senior Berater
Tel.: +49 2166 9901-171
Fax:  +49 2166 9901-100
Email: michael.banck@credativ.de

credativ GmbH, HRB Mönchengladbach 12080
USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer

Unser Umgang mit personenbezogenen Daten unterliegt
folgenden Bestimmungen: https://www.credativ.de/datenschutz


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Sergei Kornilov
Дата:
Сообщение: Re: allow online change primary_conninfo
Следующее
От: Gavin Flower
Дата:
Сообщение: Re: Record last password change