Re: Forgotten the master password of db

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: thiemo <thiemo(at)gmx(dot)ch>
Cc: pgNovice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Forgotten the master password of db
Date: 2002-05-19 16:45:59
Message-ID: 29656.1021826759@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

thiemo <thiemo(at)gmx(dot)ch> writes:
> unfortunately I have forgotten the mpassword of the master user of a db.
> Is there a way to retrieve it using the user who owns the db template1?

No, but you can temporarily set the authorization policy (pg_hba.conf)
to something other than password; log in as the superuser without any
password; assign yourself a new password.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message thiemo 2002-05-19 18:03:09 Re: Forgotten the master password of db
Previous Message April L 2002-05-19 16:10:04 Is a randomized default value primary key possible?