pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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:38:55 +0300
Message-ID: <b4399d110912031138h5d2c840coef90239b87f93214@mail.gmail.com> (raw)
In-Reply-To: <b4399d110912031136x5d24c43aq4369a1c84d7dda0e@mail.gmail.com>
References: <4B17FDCE.6030200@fmed.uba.ar>
	<12517.1259868079@sss.pgh.pa.us>
	<b4399d110912031136x5d24c43aq4369a1c84d7dda0e@mail.gmail.com>

Sorry for my prev post. I mean md5(password || username).
'test10' is a username on which i checked. :) Sorry!

2009/12/3 Dmitriy Igrishin <dmitigr@gmail.com>

> 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
>>
>
>

view thread (5+ messages)

Message-ID: <b4399d110912031138h5d2c840coef90239b87f93214@mail.gmail.com>
Permalink:  ../b4399d110912031138h5d2c840coef90239b87f93214@mail.gmail.com/
Also on:    postgresql.org/message-id/b4399d110912031138h5d2c840coef90239b87f93214@mail.gmail.com

 · 

reply

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: <b4399d110912031138h5d2c840coef90239b87f93214@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