X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 48EF69F94EA for ; Tue, 23 May 2006 12:19:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 84829-10 for ; Tue, 23 May 2006 12:19:28 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by postgresql.org (Postfix) with ESMTP id 1C03D9F946D for ; Tue, 23 May 2006 12:19:27 -0300 (ADT) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) (AUTH: PLAIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Tue, 23 May 2006 11:19:27 -0400 id 00056403.447327FF.0000C41E Date: Tue, 23 May 2006 11:19:27 -0400 From: Bill Moran To: "venu Vempati" Cc: pgsql-general@postgresql.org Subject: Re: password reset Message-Id: <20060523111927.42667fc4.wmoran@collaborativefusion.com> In-Reply-To: References: Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/1080 X-Sequence-Number: 95872 On Tue, 23 May 2006 17:03:14 +0200 "venu Vempati" wrote: > Hi group, > thanks for your previous response about the DB storage in postgres. > > now, I have a question for a password related issue.As you can see I have > problems with my pwd. > Either I forgot or misconfigured while installing the DB.I have loged in to > XP as the user "vgopal" and it's the Admin account for XP. > > C:\Program Files\PostgreSQL\8.1\bin>psql > Password: > psql: FATAL: password authentication failed for user "vgopal" > > what are the options do I have? > 1.reset pwd.! how? > 2.I can't even create another user/role > (createuser: could not connect to database postgres: FATAL: password > authentication failed for user "vgopal") You can edit the pg_hba.conf file in PostgreSQL's data directory to change authentication to "trust" for the local machine. They'll you'll be able to log in without a password and you can reset your password, then switch the pg_hba.conf setting back. Note that you'll need to restart PostgreSQL for changes to pg_hba.conf to take effect. -- Bill Moran Collaborative Fusion Inc.