Re: forgotten data base superuser password - Mailing list pgsql-admin

From Tom Lane
Subject Re: forgotten data base superuser password
Date
Msg-id 12490.980351812@sss.pgh.pa.us
Whole thread Raw
In response to forgotten data base superuser password  ("Mikhail Utin" <mutin@rubos.com>)
List pgsql-admin
Best way out of that is to temporarily set pg_hba.conf to use
non-password authentication ('trust' or maybe 'ident').  Then
you can connect without the password, update the password field
in pg_shadow, and finally restore pg_hba.conf.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Mikhail Utin"
Date:
Subject: forgotten data base superuser password
Next
From: Stephan Szabo
Date:
Subject: Re: OID type creates files that don't go away