Re: Known but bad behavior with alter user?

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Known but bad behavior with alter user?
Дата
Msg-id 20060324180227.GI4474@ns.snowman.net
обсуждение исходный текст
Ответ на Known but bad behavior with alter user?  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Known but bad behavior with alter user?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
* Joshua D. Drake (jd@commandprompt.com) wrote:
> template1=# alter user foo rename to bar;
> NOTICE:  MD5 password cleared because of role rename
> NOTICE:  MD5 password cleared because of role rename
> ALTER ROLE
> template1=#
>
> Now we have to reset the password.. which seems an extra
> step that shouldn't be required.

Wouldn't this be because the username is used as the salt for MD5 and so
there's no way to update the password because the system doesn't know
the original password?
Enjoy,
    Stephen

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Role incompatibilities
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Known but bad behavior with alter user?