[PLUG] MD5 hash a string...
Ian Burrell
ianburrell at gmail.com
Tue Jan 16 20:27:47 UTC 2007
On 1/15/07, someone <plug_0 at robinson-west.com> wrote:
> I got horde working. Turns out, I had to put the password for
> Administrator in horde's horde_users table in MD5 hash form.
> I ended up using a web based tool someone kindly put up to get
> the hash. After that, the php administration page allows adding
> additional users.
>
> My question, what tool on a typical Linux box will dump the
> MD5 hash of a string? Is there a way using the psql tool to
> enter the hash of a string instead of the actual string?
> Is there a special INSERT command?
>
ALTER USER user ENCRYPTED PASSWORD 'foo';
It will take the MD5-encrypted password, which is needed for restoring
dumps, but it will calculated the MD5 hash from the password.
- Ian
More information about the PLUG
mailing list