Re: Help with privilege or pg_hba.conf

From: "Daniel Seichter" <daniel(at)dseichter(dot)de>
To: pgsql-admin(at)postgresql(dot)org
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Help with privilege or pg_hba.conf
Date: 2003-07-20 11:07:16
Message-ID: bfdt2n$a0c$1@main.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

Hello,

> I've been trying to modify "pg_hba.conf" but with no luck .... as user
> "cool", after I connect to the DB server via psql and I do "\c anotherdb",
> user "cool" can still connect to "anotherdb".
> my "pg_hba.conf" can be found at http://ahouans.sh.cvut.cz/pg_hba.txt
I think, you should not say, that all are allowed to connect to the database
and cool had to type in a password, because if cool is not cool, he also can
have access to all other databases, because the other lines said: ALL

At the moment I can't give a solution, but hopefully another person, because
I don't know exactly, if my answer is right (never needed restrict the
access to only one database)

Daniel Seichter
--
postgreSQL on Netware - the red elephant
http://postgresql.dseichter.org

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message The Hermit Hacker 2003-07-20 15:02:04 Re: news.us.postgresql.org
Previous Message Mendola Gaetano 2003-07-20 10:51:44 news.us.postgresql.org

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Seichter 2003-07-20 11:13:37 Function/trigger,....development documentation
Previous Message Sean Chittenden 2003-07-20 10:53:26 Re: [GENERAL] Urgent: 10K or more connections