Re: \password in psql help

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: \password in psql help
Дата
Msg-id 20080326134348.GC8100@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: \password in psql help  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Ответы Re: \password in psql help  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-patches
Heikki Linnakangas wrote:
> Magnus Hagander wrote:
>> +     fprintf(output, _("  \\password [USERNAME]\n"
>> +                  "                 securely change the password for a user\n"));
>
> I would leave out the word "securely". Unless you want to provide
> another command for changing it insecurely ;-). What does it mean,
> anyway?

The point is that the password is encrypted on the client and
transmitted in md5 form.  If you were to use ALTER USER to change the
password, it could end up unencrypted in the server log.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Auto Partitioning Patch - WIP version 1
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Auto Partitioning Patch - WIP version 1