Re: users & groups

From: Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE>
To: R D <mrk279(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: users & groups
Date: 2000-06-19 12:09:50
Message-ID: Pine.GSO.4.02A.10006191405480.550-100000@Ulv.DoCS.UU.SE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gary Stainburn 2000-06-19 13:20:41 RE: RE:
Previous Message Peter Eisentraut 2000-06-19 12:05:32 RE: users & groups