Received: from meryl.it.uu.se (root@meryl.it.uu.se [130.238.12.42]) by hub.org (8.10.1/8.10.1) with ESMTP id e5JC9tM51470 for ; Mon, 19 Jun 2000 08:09:55 -0400 (EDT) Received: from Ulv.DoCS.UU.SE (e99re41@Ulv.DoCS.UU.SE [130.238.9.167]) by meryl.it.uu.se (8.8.5/8.8.5) with ESMTP id OAA10619; Mon, 19 Jun 2000 14:09:51 +0200 (MET DST) Received: from localhost (e99re41@localhost) by Ulv.DoCS.UU.SE (8.6.12/8.6.12) with ESMTP id OAA05330; Mon, 19 Jun 2000 14:09:50 +0200 X-Authentication-Warning: Ulv.DoCS.UU.SE: e99re41 owned process doing -bs Date: Mon, 19 Jun 2000 14:09:50 +0200 (MET DST) From: Peter Eisentraut Reply-To: Peter Eisentraut To: R D cc: pgsql-admin@postgresql.org Subject: Re: users & groups In-Reply-To: <20000619085138.12111.qmail@web208.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.org id e5JC9uM51474 X-Archive-Number: 200006/114 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