From: Carlos Ortiz <ortizc2@yahoo.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: MD5 Passwords and user administratio
Date: Sun, 9 Feb 2003 09:16:38 -0800 (PST)
Message-ID: <20030209171638.39231.qmail@web80310.mail.yahoo.com> (raw)
In-Reply-To: <15243.1044760332@sss.pgh.pa.us>
Thanx. Actually, it was a version problem. Was using 7.2 and it did not do
that automatically. Spent some time and installed 7.3 from source yesterday.
Thanx for the help
Carlos
--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Carlos Ortiz <ortizc2@yahoo.com> writes:
> > I am trying to figure out exactly how to set someone's password when
> > using MD5 passwords in postgres.
>
> ALTER USER joe WITH PASSWORD 'secret';
>
> > 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?
>
> I think the salt is the username --- but you shouldn't write code that
> depends on knowing that. None of the MD5 behavior is considered
> user-visible.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
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: ortizc2@yahoo.com, tgl@sss.pgh.pa.us
Subject: Re: MD5 Passwords and user administratio
In-Reply-To: <20030209171638.39231.qmail@web80310.mail.yahoo.com>
References: <15243.1044760332@sss.pgh.pa.us> <20030209171638.39231.qmail@web80310.mail.yahoo.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