From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ray Stell <stellr@cns.vt.edu>
Cc: Kranti K K Parisa? <kranti.parisa@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Forgot Root Password
Date: Sat, 26 Apr 2008 13:21:42 -0400
Message-ID: <13088.1209230502@sss.pgh.pa.us> (raw)
In-Reply-To: <20080426123413.GA4035@cns.vt.edu>
References: <4478b4ac0804252230u5eb1a7f4k5878eb11b8611765@mail.gmail.com>
<20080426123413.GA4035@cns.vt.edu>
Ray Stell <stellr@cns.vt.edu> writes:
> 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.
"ident" mode might be a safer option.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, stellr@cns.vt.edu, kranti.parisa@gmail.com
Subject: Re: Forgot Root Password
In-Reply-To: <13088.1209230502@sss.pgh.pa.us>
* 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