Re: postgres user, forgotten password

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Zouari Fourat <fourat(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: postgres user, forgotten password
Date: 2005-02-22 14:54:17
Message-ID: 20050222145417.GE22550@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Feb 22, 2005 at 15:07:45 +0100,
Zouari Fourat <fourat(at)gmail(dot)com> wrote:
> Hello,
> i forgot the postgres user password, how to resolve this problem.
> once i have my postgres user working, how to list all users on the server ?
> thanks a bunch

Edit pg_hba.conf to use trust or ident authentication for "postgres".
You probably want to make sure there is no external access to the database
while doing this.

SELECT usename FROM pg_user;

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-02-22 15:18:38 Re: pg_hba.conf
Previous Message Bruno Wolff III 2005-02-22 14:47:51 Re: pg_hba.conf