Re: Forgot Root Password

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ray Stell <stellr(at)cns(dot)vt(dot)edu>
Cc: Kranti K K Parisa? <kranti(dot)parisa(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Forgot Root Password
Date: 2008-04-26 17:21:42
Message-ID: 13088.1209230502@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ray Stell <stellr(at)cns(dot)vt(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Márcio Aguiar Ribeiro 2008-04-26 18:45:05 Re: Server format and recovery
Previous Message Joshua D. Drake 2008-04-26 15:09:15 Re: Forgot Root Password