Re: create user xxx with md5 string?

From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)ar>, postgres list <pgsql-sql(at)postgresql(dot)org>
Subject: Re: create user xxx with md5 string?
Date: 2009-12-03 19:36:58
Message-ID: b4399d110912031136x5d24c43aq4369a1c84d7dda0e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hello all.
Tom right. Encrypted MD5 passwords computed as md5(password || test10). I
checked.

Regards, Dmitriy Igrishin.

2009/12/3 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>

> Gerardo Herzig <gherzig(at)fmed(dot)uba(dot)ar> writes:
> > Hi all. Im triyng, with no success, to create a user, and set the
> > password with a md5 string.
>
> The correct method for computing the md5'd password includes the
> username. I think it's 'md5' || md5sum(password || username)
> but look at the code or docs.
>
> regards, tom lane
>
> --
> Sent via pgsql-sql mailing list (pgsql-sql(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Dmitriy Igrishin 2009-12-03 19:38:55 Re: create user xxx with md5 string?
Previous Message Tom Lane 2009-12-03 19:21:19 Re: create user xxx with md5 string?