From: Joshua D. Drake <jd@commandprompt.com>
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 08:09:15 -0700
Message-ID: <4813459B.9000001@commandprompt.com> (raw)
In-Reply-To: <20080426123413.GA4035@cns.vt.edu>
References: <4478b4ac0804252230u5eb1a7f4k5878eb11b8611765@mail.gmail.com>
<20080426123413.GA4035@cns.vt.edu>
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
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: jd@commandprompt.com, stellr@cns.vt.edu, kranti.parisa@gmail.com
Subject: Re: Forgot Root Password
In-Reply-To: <4813459B.9000001@commandprompt.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