From: Bill Moran <wmoran@collaborativefusion.com>
To: venu Vempati <venu.vempati@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: password reset
Date: Tue, 23 May 2006 11:19:27 -0400
Message-ID: <20060523111927.42667fc4.wmoran@collaborativefusion.com> (raw)
In-Reply-To: <ba12027d0605230803j51f1ea3agc19bfbfbe0b7a89a@mail.gmail.com>
References: <ba12027d0605230803j51f1ea3agc19bfbfbe0b7a89a@mail.gmail.com>
On Tue, 23 May 2006 17:03:14 +0200
"venu Vempati" <venu.vempati@gmail.com> 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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: wmoran@collaborativefusion.com, venu.vempati@gmail.com
Subject: Re: password reset
In-Reply-To: <20060523111927.42667fc4.wmoran@collaborativefusion.com>
References: <ba12027d0605230803j51f1ea3agc19bfbfbe0b7a89a@mail.gmail.com> <20060523111927.42667fc4.wmoran@collaborativefusion.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox