Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Known but bad behavior with alter user?


  • From: Stephen Frost <sfrost(at)snowman(dot)net>
  • To: "Joshua D. Drake" <jd(at)commandprompt(dot)com>
  • Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
  • Subject: Re: Known but bad behavior with alter user?
  • Date: Fri, 24 Mar 2006 13:02:27 -0500
  • Message-id: <20060324180227(dot)GI4474(at)ns(dot)snowman(dot)net>

* Joshua D. Drake (jd(at)commandprompt(dot)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

Attachment: signature.asc
Description: Digital signature



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group