From: Bruno Wolff III <bruno@wolff.to>
To: Zouari Fourat <fourat@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: postgres user, forgotten password
Date: Tue, 22 Feb 2005 08:54:17 -0600
Message-ID: <20050222145417.GE22550@wolff.to> (raw)
In-Reply-To: <621eda8a05022206077a5506c5@mail.gmail.com>
References: <621eda8a05022206077a5506c5@mail.gmail.com>
On Tue, Feb 22, 2005 at 15:07:45 +0100,
Zouari Fourat <fourat@gmail.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;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruno@wolff.to, fourat@gmail.com
Subject: Re: postgres user, forgotten password
In-Reply-To: <20050222145417.GE22550@wolff.to>
References: <621eda8a05022206077a5506c5@mail.gmail.com> <20050222145417.GE22550@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox