Re: postgresql 8.3 logging user passwords in clear text

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: postgresql 8.3 logging user passwords in clear text
Дата
Msg-id 1282669372-sup-226@alvh.no-ip.org
обсуждение исходный текст
Ответ на postgresql 8.3 logging user passwords in clear text  (Keith Pinnix <kpinnix@yahoo.com>)
Список pgsql-admin
Excerpts from Keith Pinnix's message of lun ago 23 19:47:53 -0400 2010:
> All:
>
> I have a postgresql instance and I have noticed that it is logging the user
> passwords in clear text in the postgresql.log.   Is this configurable so that it
> retains the user info and commands but does not log the password?

In what context?  If you're doing ALTER ROLE / PASSWORD with the
password in clear text, then that's obviously going to show up in the
log.  The solution is to encrypt them client-side; for example use
\password in psql to change passwords, which does that automatically.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Unable to drop role
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Unable to drop role