X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D5C0C4753A1 for ; Sat, 8 Feb 2003 17:07:58 -0500 (EST) Received: from web80304.mail.yahoo.com (web80304.mail.yahoo.com [66.218.79.20]) by postgresql.org (Postfix) with SMTP id 2008A474E5C for ; Sat, 8 Feb 2003 17:07:58 -0500 (EST) Message-ID: <20030208220759.75607.qmail@web80304.mail.yahoo.com> Received: from [66.50.65.218] by web80304.mail.yahoo.com via HTTP; Sat, 08 Feb 2003 14:07:59 PST Date: Sat, 8 Feb 2003 14:07:59 -0800 (PST) From: Carlos Ortiz Subject: MD5 Passwords and user administratio To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/136 X-Sequence-Number: 7334 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 what 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