From: Rob Abernethy IV <abernethy@dynedge.com>
To: postgresql <pgsql-admin@postgresql.org>
Subject: Re: MD5 Passwords and user administratio
Date: Mon, 10 Feb 2003 09:18:43 +0800
Message-ID: <20030210091843.M49785@dynedge.com> (raw)
In-Reply-To: <20030208221953.62165.qmail@web80312.mail.yahoo.com>
References: <20030208221953.62165.qmail@web80312.mail.yahoo.com>
The username is the salt.
--
Robert Abernethy IV
Dynamic Edge, Inc.
734.975.0460
> I am trying to figure out exactly how to set someone's password when
> using MD5 passwords in postgres. I am trying to automate some
> features, and still can't figure out what I am doing wrong. MD5 of
> the password is obviously not wha is used by itself, since that
> would be insecure, but I can't figure out what the salt is. What
> exactly is psotgres passing to the MD5 hash to make up that
> incredible unintelligible stream of characters that it stores in
> the password field of the pg_shadow table?
>
> desperate,
>
> Carlos
>
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>
> (send "unregister YourEmailAddressHere" to
> majordomo@postgresql.org)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: abernethy@dynedge.com
Subject: Re: MD5 Passwords and user administratio
In-Reply-To: <20030210091843.M49785@dynedge.com>
References: <20030208221953.62165.qmail@web80312.mail.yahoo.com> <20030210091843.M49785@dynedge.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