X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.192]) by svr1.postgresql.org (Postfix) with ESMTP id C2DB2CD1CA for ; Sun, 20 Jul 2003 11:06:35 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr4.postgresql.org [64.117.224.192]) (amavisd-new, port 10024) with ESMTP id 25829-08 for ; Sun, 20 Jul 2003 11:07:06 +0000 (GMT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by svr1.postgresql.org (Postfix) with ESMTP id 8CC89CD1C9 for ; Sun, 20 Jul 2003 08:06:30 -0300 (ADT) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19eC0u-0002fm-00 for ; Sun, 20 Jul 2003 13:06:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-admin@postgresql.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19eC0u-0002fd-00 for ; Sun, 20 Jul 2003 13:06:00 +0200 From: "Daniel Seichter" Subject: Re: Help with privilege or pg_hba.conf Date: Sun, 20 Jul 2003 13:07:16 +0200 Lines: 20 Message-ID: References: X-Complaints-To: usenet@main.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Cc: pgsql-general@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/193 X-Sequence-Number: 9533 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