Received: from sss.pgh.pa.us (sss.pgh.pa.us [209.114.132.154]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0OFvYq23546 for ; Wed, 24 Jan 2001 10:57:34 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.1/8.11.1) with ESMTP id f0OFuq912493; Wed, 24 Jan 2001 10:56:52 -0500 (EST) To: "Mikhail Utin" cc: pgsql-admin@postgresql.org Subject: Re: forgotten data base superuser password In-reply-to: <010d01c084f5$e610f9a0$240bb5d8@noble.rubos.com> References: <010d01c084f5$e610f9a0$240bb5d8@noble.rubos.com> Comments: In-reply-to "Mikhail Utin" message dated "Mon, 22 Jan 2001 23:35:22 -0500" Date: Wed, 24 Jan 2001 10:56:52 -0500 Message-ID: <12490.980351812@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200101/149 X-Sequence-Number: 526 Best way out of that is to temporarily set pg_hba.conf to use non-password authentication ('trust' or maybe 'ident'). Then you can connect without the password, update the password field in pg_shadow, and finally restore pg_hba.conf. regards, tom lane