From: Gary Stainburn <gary.stainburn@ringways.co.uk>
To: C. Bensend <benny@bennyvision.com>
To: Chris Cameron <chris@upnix.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Multiple Servers
Date: Tue, 21 Aug 2001 10:03:50 +0100
Message-ID: <01082110035000.30178@gary.ringways.co.uk> (raw)
In-Reply-To: <Pine.BSO.4.33L2.0108202126420.18291-100000@fusion.bennyvision.com>
References: <Pine.BSO.4.33L2.0108202126420.18291-100000@fusion.bennyvision.com>
I'm talking off the top of my head here as I've never looked specifically at
this, but it rings a bell at the back of my head.
Can't you change the ownership of a database?
Would it not be easy to create a user who cannot create other users or
databases, then create a database for that user and than change the ownership
of that database to the new user?
Gary
On Tuesday 21 August 2001 3:30 am, C. Bensend wrote:
> On Mon, 20 Aug 2001, Chris Cameron wrote:
> > Actually, that's my exact same problem AND setup.
> >
> > Making a user that can create databases, but not users is a decent idea.
> > That's what I'll be doing for my more trusted users. However, beyond that
> > it looks like the only choice is to run multipule postmasters.
>
> Well, kinda... I don't want my users to be able to create
> databases. I only want them to create tables, modify
> tables, etc.
>
> _I_, as the hosting provider, will create the database for
> them. And I will add their user. From then on, said user
> should only be able to create/modify/drop tables, etc, WITHIN
> their own database.
>
> Is running multiple postmasters the _only_ way to achieve this?
> If so, this is not so good. :/
>
> Benny
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> You see, we're leveraging the synergies of our existing open source
> solution, without reliance on a single vendor.
> Or in english: We use samba cause NT sucks ass.
> --greg@rage.net
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
--
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
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: gary.stainburn@ringways.co.uk, benny@bennyvision.com, chris@upnix.com
Subject: Re: Multiple Servers
In-Reply-To: <01082110035000.30178@gary.ringways.co.uk>
References: <Pine.BSO.4.33L2.0108202126420.18291-100000@fusion.bennyvision.com> <01082110035000.30178@gary.ringways.co.uk>
* 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