Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group