Re: Forgot Root Password

From: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
To: Kranti K K Parisa? <kranti(dot)parisa(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Forgot Root Password
Date: 2008-04-26 12:34:13
Message-ID: 20080426123413.GA4035@cns.vt.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Andrew Sullivan 2008-04-26 12:56:09 Re: Vacuumdb error - corruption
Previous Message Kranti K K Parisa™ 2008-04-26 05:30:35 Forgot Root Password