From: Artur Pietruk <arturp@plukwa.pdi.net>
To: Vicente Vives <vicent@aimplas.es>
Cc: pgsql-admin@postgresql.org
Subject: Re: usernames and passwords
Date: Mon, 22 Jul 2002 13:08:44 +0200
Message-ID: <20020722110844.GP13486@yoda.plukwa.net> (raw)
In-Reply-To: <3D3BDB95.EE5F991F@aimplas.es>
References: <3D3BDB95.EE5F991F@aimplas.es>
On Mon, Jul 22, 2002 at 12:16:53PM +0200, Vicente Vives wrote:
> Hi .
Hello!
> I have a server running PostgreSQL Version 6.5, and i have a problem.
> I grant some distinct privileges to some users (and that works). The
> problem
> is that those users can log in with any password. Each user has a
> password
> assigned but not matter the password the user use to log in, if the user
> exists always will get access to the database.
Go to your $PGDATA directory, and check your pg_hba.conf. That's
file where you can confiure access do your db - it is wery well commented,
read it and you will find out what to do (if not, go to docs and read about
pg_hba.conf). It looks, that you may have "trust" enabled for local
connections (or for whatever way they are connecting), or something like
that, and that is why users are authenticated without their passwords.
Best regards,
--
--- Artur Pietruk, arturp@plukwa.net
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: arturp@plukwa.pdi.net, vicent@aimplas.es
Subject: Re: usernames and passwords
In-Reply-To: <20020722110844.GP13486@yoda.plukwa.net>
References: <3D3BDB95.EE5F991F@aimplas.es> <20020722110844.GP13486@yoda.plukwa.net>
* 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