Re: forgotten data base superuser password

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mikhail Utin" <mutin(at)rubos(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: forgotten data base superuser password
Date: 2001-01-24 15:56:52
Message-ID: 12490.980351812@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Stephan Szabo 2001-01-24 18:25:01 Re: OID type creates files that don't go away
Previous Message Stefan Huber 2001-01-24 10:13:23 Re: Temporary files directory