From: Dmitriy Igrishin <dmitigr@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Gerardo Herzig <gherzig@fmed.uba.ar>
Cc: postgres list <pgsql-sql@postgresql.org>
Subject: Re: create user xxx with md5 string?
Date: Thu, 3 Dec 2009 22:36:58 +0300
Message-ID: <b4399d110912031136x5d24c43aq4369a1c84d7dda0e@mail.gmail.com> (raw)
In-Reply-To: <12517.1259868079@sss.pgh.pa.us>
References: <4B17FDCE.6030200@fmed.uba.ar>
<12517.1259868079@sss.pgh.pa.us>
Hello all.
Tom right. Encrypted MD5 passwords computed as md5(password || test10). I
checked.
Regards, Dmitriy Igrishin.
2009/12/3 Tom Lane <tgl@sss.pgh.pa.us>
> Gerardo Herzig <gherzig@fmed.uba.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@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-sql
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dmitigr@gmail.com, tgl@sss.pgh.pa.us, gherzig@fmed.uba.ar
Subject: Re: create user xxx with md5 string?
In-Reply-To: <b4399d110912031136x5d24c43aq4369a1c84d7dda0e@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox