Re: resetting superuser password

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: mad <mad7(at)runbox(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: resetting superuser password
Date: 2005-11-09 12:51:03
Message-ID: 20051109125103.GE21585@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Nov 09, 2005 at 04:42:39AM -0800, mad wrote:
> I have lost the superuser (user postgres) password, but I still have
> the unix root password. Is there anything I can do to reset the
> postgres user's password (short of reinstalling Postgres)?

Edit pg_hba.conf to let you in without a password, then you can login
and change it.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message ctobini 2005-11-09 13:40:14 How to obtain the code af a function ?
Previous Message Jerry LeVan 2005-11-09 12:45:09 Re: psql error on quitting...