X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id BF577D1B860 for ; Sun, 1 Feb 2004 22:10:41 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 26637-07 for ; Sun, 1 Feb 2004 18:10:40 -0400 (AST) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 4BF93D1B4C5 for ; Sun, 1 Feb 2004 18:10:37 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i11MAcj08300; Sun, 1 Feb 2004 17:10:38 -0500 (EST) From: Bruce Momjian Message-Id: <200402012210.i11MAcj08300@candle.pha.pa.us> Subject: Re: HELP! Passwords stuck in passwd file! In-Reply-To: <20040201140414.E29529@hydra.nfcnet> To: Michael Allman Date: Sun, 1 Feb 2004 17:10:38 -0500 (EST) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/3 X-Sequence-Number: 12177 Michael Allman wrote: > I am migrating from 7.2 -> 7.4. I can't figure out how to move the > crypt()'ed passwords I made with pg_password utility into the pg_shadow > table. All I can find in the documentation is (in 7.3 release notes) > > Remove secondary password file capability and pg_password utility > (Bruce) If I remember correctly, you can't. We now perfer MD5, where we can store the information encrypted in the database, and use random salt over the wire. We cant unencrypt the crypt values so unfortunately you have to reenter them. You can do it using ALTER USER now. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073