X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id DC820475B99 for ; Mon, 10 Feb 2003 09:18:42 -0500 (EST) Received: from localhost.localdomain (63-215-160-3.digitalrealm.net [63.215.160.3]) by postgresql.org (Postfix) with ESMTP id 9990B475AFA for ; Mon, 10 Feb 2003 09:18:38 -0500 (EST) Received: from dynedge.com (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id h1AEIhY11067 for ; Mon, 10 Feb 2003 08:18:43 -0600 From: "Rob Abernethy IV" To: "postgresql" Subject: Re: MD5 Passwords and user administratio Date: Mon, 10 Feb 2003 09:18:43 +0800 Message-Id: <20030210091843.M49785@dynedge.com> In-Reply-To: <20030208221953.62165.qmail@web80312.mail.yahoo.com> References: <20030208221953.62165.qmail@web80312.mail.yahoo.com> X-Mailer: Open WebMail 1.64 20020419 X-OriginatingIP: 192.168.1.13 (abernethy@dynedge.com) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/134 X-Sequence-Number: 7332 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)