Re: Forgot Root Password

From: Craig McElroy <craig(dot)mcelroy(at)contegix(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Forgot Root Password
Date: 2008-04-26 12:56:30
Message-ID: F022FD77-D7AB-44D5-9505-46DAAA09FF53@contegix.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Also, if you wish to avoid a full restart of the database, this change
would be picked up by a "pg_ctl reload" as well.

Cheers,
-craig

---
Craig A. McElroy
Contegix LLC
Beyond Managed Hosting(r) for Your Enterprise

On Apr 26, 2008, at 7:34 AM, 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.
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Joshua D. Drake 2008-04-26 15:09:15 Re: Forgot Root Password
Previous Message Andrew Sullivan 2008-04-26 12:56:09 Re: Vacuumdb error - corruption