Re: resetting superuser password - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: resetting superuser password
Date
Msg-id 20051109125103.GE21585@svana.org
Whole thread Raw
In response to resetting superuser password  ("mad" <mad7@runbox.com>)
List 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@svana.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.

Attachment

pgsql-general by date:

Previous
From: Jerry LeVan
Date:
Subject: Re: psql error on quitting...
Next
From: "surabhi.ahuja"
Date:
Subject: Postmaster failing to start on reboot