how to recover superuser password ? - Mailing list pgsql-novice

From Patrick
Subject how to recover superuser password ?
Date
Msg-id 20021202163404.GH28102@nohope.patoche.org
Whole thread Raw
Responses Re: how to recover superuser password ?
List pgsql-novice
My superuser (postgres) had a password.
I attempted to change it by doing (and not thinking very much):
template1=# alter user postgres with password '';
ALTER USER
template1=# \q

After what I am unable to connect anymore as superuser, which is a
big problem (plain [ENTER] on the password prompt is rejected)

Is there any way to change the superuser password without completely
deleting my postgreSQL installation which is in use in production ?
(I have complete unix root access)

Thanks to all in advance.
I did not found anything relevant online.

Patrick.

pgsql-novice by date:

Previous
From: "Chris Boget"
Date:
Subject: Starting postmaster in rc.local
Next
From: Joel Burton
Date:
Subject: Re: how to recover superuser password ?