| From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
|---|---|
| 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 15:09:15 |
| Message-ID: | 4813459B.9000001@commandprompt.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2008-04-26 17:21:42 | Re: Forgot Root Password |
| Previous Message | Craig McElroy | 2008-04-26 12:56:30 | Re: Forgot Root Password |