Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id E45062E002F for ; Sat, 26 Apr 2008 12:09:17 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 67351-06 for ; Sat, 26 Apr 2008 12:09:15 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by developer.postgresql.org (Postfix) with ESMTP id 0E4152E0032 for ; Sat, 26 Apr 2008 12:09:14 -0300 (ADT) Received: from [192.168.1.226] (or-69-34-217-90.sta.embarqhsd.net [69.34.217.90]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m3QF9oIL015176 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 26 Apr 2008 08:09:53 -0700 Message-ID: <4813459B.9000001@commandprompt.com> Date: Sat, 26 Apr 2008 08:09:15 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Ray Stell CC: Kranti K K Parisa? , pgsql-admin@postgresql.org Subject: Re: Forgot Root Password References: <4478b4ac0804252230u5eb1a7f4k5878eb11b8611765@mail.gmail.com> <20080426123413.GA4035@cns.vt.edu> In-Reply-To: <20080426123413.GA4035@cns.vt.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Sat, 26 Apr 2008 08:09:54 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/262 X-Sequence-Number: 29026 Ray Stell wrote: > On Sat, Apr 26, 2008 at 11:00:35AM +0530, Kranti K K Parisa? wrote: >> Can anyone suggest a way to retrieve/update the postgres root password ? > > > edit pg_hba.conf so that localhost connections from localhost are trusted maybe like > this: > > host all all 127.0.0.1/32 trust > > you have to restart, but then you can do an alter user and so can all the other local > users. You do not need to restart, just reload. pg_ctl -D data reload Joshua D. Drake