pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Seichter <daniel@dseichter.de>
To: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: Help with privilege or pg_hba.conf
Date: Sun, 20 Jul 2003 13:07:16 +0200
Message-ID: <bfdt2n$a0c$1@main.gmane.org> (raw)
References: <bfc4ln$apl$1@main.gmane.org>

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






view thread (3+ messages)

Message-ID: <bfdt2n$a0c$1@main.gmane.org>
Permalink:  ../bfdt2n$a0c$1@main.gmane.org/
Also on:    postgresql.org/message-id/bfdt2n$a0c$1@main.gmane.org

 · 

reply

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: daniel@dseichter.de, pgsql-general@postgresql.org
  Subject: Re: Help with privilege or pg_hba.conf
  In-Reply-To: <bfdt2n$a0c$1@main.gmane.org>
  References: <bfc4ln$apl$1@main.gmane.org> <bfdt2n$a0c$1@main.gmane.org>

* 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