From: Gerardo Herzig <gherzig@fmed.uba.ar>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: postgres list <pgsql-sql@postgresql.org>
Subject: Re: create user xxx with md5 string?
Date: Thu, 03 Dec 2009 16:02:58 -0300
Message-ID: <4B180B62.6060907@fmed.uba.ar> (raw)
In-Reply-To: <12517.1259868079@sss.pgh.pa.us>
References: <4B17FDCE.6030200@fmed.uba.ar>
<12517.1259868079@sss.pgh.pa.us>
Tom Lane wrote:
> 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
>
Perfect! I could not find that in the docs.
It works. Thanks!
Gerardo
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: gherzig@fmed.uba.ar, tgl@sss.pgh.pa.us
Subject: Re: create user xxx with md5 string?
In-Reply-To: <4B180B62.6060907@fmed.uba.ar>
* 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