Re: Algorithm for generating md5 encrypted password not found in documentation

From: Derrick Rice <derrick(dot)rice(at)gmail(dot)com>
To: Fred Cox <sailorfred(at)yahoo(dot)com>
Cc: "pgsql-docs(at)postgresql(dot)org" <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Algorithm for generating md5 encrypted password not found in documentation
Date: 2011-10-20 13:57:18
Message-ID: CANvs22EKm3PhQdFLXUCRVDR9AEwzqLqwYOC-AotM5+Y3EbZR5w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Thu, Oct 20, 2011 at 9:56 AM, Derrick Rice <derrick(dot)rice(at)gmail(dot)com> wrote:
> If I recall correctly, it's the username and the password concatenated
> and md5'd, then "md5" prepended.
>
> USER=...
> PASS=...
> MD5=`echo $USER$PASS | md5sum | cut -d' ' -f1`
> echo "md5$MD5"

Figures I send the email then discover a small mistake.

It's password first. So change $USER$PASS to $PASS$USER

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Alvaro Herrera 2011-10-24 15:28:29 Re: non-ASCII characters in SGML documentation (and elsewhere)
Previous Message Derrick Rice 2011-10-20 13:56:09 Re: Algorithm for generating md5 encrypted password not found in documentation