pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Edward W. Rouse <erouse@comsquared.com>
To: pgsql-sql@postgresql.org
Subject: Re: lost password
Date: Wed, 18 Nov 2009 10:10:42 -0500
Message-ID: <015b01ca6861$4b919930$e2b4cb90$@com> (raw)
In-Reply-To: <6762.1258502206@sss.pgh.pa.us>
References: <00b501ca67cb$d8efd9e0$8acf8da0$@com>
	<00c001ca67ce$fb3fd970$f1bf8c50$@com>
	<6762.1258502206@sss.pgh.pa.us>

Well, the username and password are the same, but the md5 is different. But
it doesn't seem to matter because either one works the same. The fact that
you can have 2 different md5's yet still have the same user name and
password and have logins work is what I found to be interesting.

But my original problem is solved in either case, so it doesn't really
matter to me. I just found it to be ... interesting.

Edward W. Rouse

-----Original Message-----
From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-owner@postgresql.org]
On Behalf Of Tom Lane
Sent: Tuesday, November 17, 2009 6:57 PM
To: Edward W. Rouse
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] lost password 

"Edward W. Rouse" <erouse@comsquared.com> writes:
> After I copied the md5 over I played around a bit and found the for the
> process user. I then used the alter user sql statement and rechecked the
> md5. It was different, but I could still use the same password to log in.
> Needless to say, I am a bit confused by that, but it works and that's what
I
> need.

The md5 will depend on both the actual password and the user's name
... does that help?

			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 (4+ messages)

Message-ID: <015b01ca6861$4b919930$e2b4cb90$@com>
Permalink:  ../015b01ca6861$4b919930$e2b4cb90$@com/
Also on:    postgresql.org/message-id/015b01ca6861$4b919930$e2b4cb90$@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: erouse@comsquared.com
  Subject: Re: lost password
  In-Reply-To: <015b01ca6861$4b919930$e2b4cb90$@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