From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gerardo Herzig <gherzig@fmed.uba.ar>
Cc: postgres list <pgsql-sql@postgresql.org>
Subject: Re: create user xxx with md5 string?
Date: Thu, 03 Dec 2009 14:21:19 -0500
Message-ID: <12517.1259868079@sss.pgh.pa.us> (raw)
In-Reply-To: <4B17FDCE.6030200@fmed.uba.ar>
References: <4B17FDCE.6030200@fmed.uba.ar>
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
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: tgl@sss.pgh.pa.us, gherzig@fmed.uba.ar
Subject: Re: create user xxx with md5 string?
In-Reply-To: <12517.1259868079@sss.pgh.pa.us>
* 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