pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <e99re41@DoCS.UU.SE>
To: R D <mrk279@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: users & groups
Date: Mon, 19 Jun 2000 14:09:50 +0200 (MET DST)
Message-ID: <Pine.GSO.4.02A.10006191405480.550-100000@Ulv.DoCS.UU.SE> (raw)
In-Reply-To: <20000619085138.12111.qmail@web208.mail.yahoo.com>

On Mon, 19 Jun 2000, R D wrote:

> Hi,I need a secondary passwd files because I do not
> know another way to manage user access to DBs.

That's what I thought.

> If there was a pg_shadow in every DB replacing external passwd file,

Hmm, that would be in semi-violation of SQL, since users are supposed to
be global. We've been thinking about making per-database *passwords* for
each user, but I don't think this buys a lot.

> Or maybe it would be better and more reasonable to use a table in
> every database with the list of users who can access the database and
> their privileges on it.

That could be a problem. Assume you delete all users from that table. How
do you get back in and add any? But something like this is clearly needed,
it just can't be in the database -- probably pg_hba.conf.


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




view thread (8+ messages)  latest in thread

Message-ID: <Pine.GSO.4.02A.10006191405480.550-100000@Ulv.DoCS.UU.SE>
Permalink:  ../Pine.GSO.4.02A.10006191405480.550-100000@Ulv.DoCS.UU.SE/
Also on:    postgresql.org/message-id/Pine.GSO.4.02A.10006191405480.550-100000@Ulv.DoCS.UU.SE

 · 

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: e99re41@DoCS.UU.SE, mrk279@yahoo.com
  Subject: Re: users & groups
  In-Reply-To: <Pine.GSO.4.02A.10006191405480.550-100000@Ulv.DoCS.UU.SE>
  References: <20000619085138.12111.qmail@web208.mail.yahoo.com> <Pine.GSO.4.02A.10006191405480.550-100000@Ulv.DoCS.UU.SE>

* 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