From: Craig McElroy <craig.mcelroy@contegix.com>
To: pgsql-admin@postgresql.org
Subject: Re: Forgot Root Password
Date: Sat, 26 Apr 2008 07:56:30 -0500
Message-ID: <F022FD77-D7AB-44D5-9505-46DAAA09FF53@contegix.com> (raw)
In-Reply-To: <20080426123413.GA4035@cns.vt.edu>
References: <4478b4ac0804252230u5eb1a7f4k5878eb11b8611765@mail.gmail.com>
<20080426123413.GA4035@cns.vt.edu>
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@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
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: craig.mcelroy@contegix.com
Subject: Re: Forgot Root Password
In-Reply-To: <F022FD77-D7AB-44D5-9505-46DAAA09FF53@contegix.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