Re: Known but bad behavior with alter user? - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Known but bad behavior with alter user?
Date
Msg-id 20060324180227.GI4474@ns.snowman.net
Whole thread Raw
In response to Known but bad behavior with alter user?  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Known but bad behavior with alter user?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Role incompatibilities
Next
From: Tom Lane
Date:
Subject: Re: Known but bad behavior with alter user?