View Single Post

   
  #2 (permalink)  
Old 04-29-2008, 08:29 PM
Ray Stell
 
Posts: n/a
Default Re: Forgot Root Password

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 With Quote