pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Cameron <chris@upnix.com>
To: C. Bensend <benny@bennyvision.com>
To: pgsql-admin@postgresql.org
Subject: Re: Multiple Servers
Date: Mon, 20 Aug 2001 20:25:02 -0600
Message-ID: <5.1.0.14.0.20010820202024.0366a008@mail.upnix.com> (raw)
In-Reply-To: <Pine.BSO.4.33L2.0108202035320.24990-100000@fusion.bennyvis ion.com>
References: <5.1.0.14.0.20010820190226.03631f88@mail.upnix.com>

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.

Chris

At 08:48 PM 8/20/2001 -0500, C. Bensend wrote:

>Sorry for the interruption into this discussion, but it
>is very similar to the question I posted two weeks ago
>(http://fts.postgresql.org/db/mw/msg.html?mid=1027722).
>
>I have since revised my ideas of how my databases should
>be set up, ie:
>
>         * Users need to have superuser access to their OWN
>           databases
>         * Users should not have the ability to create users
>           or databases
>         * Users _need_ to be able to create tables, modify
>           tables, drop tables, etc
>
>I hope that I don't need to run multiple postmasters to get
>this done, as the DB machine is .. well .. needing some hardware
>upgrades.
>
>My own [twisted, non-programmer] logic tells me that I should
>be able to create a database, add a user, and grant all on
><database> for that specific user.  But, my SQL abilities are
>almost nil, and when I try to grant such things on a database,
>it denies me (No, I don't recall the error.  Yes, I will
>duplicate it and provide the _exact_ error).  :/
>
>Specifics:  PostgreSQL 7.1.2, OpenBSD 2.9 (DB), OpenBSD 2.8 on
>the client side.
>
>If anyone can give me some hints on how to do this, I would be
>VERY appreciative.
>
>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 1: subscribe and unsubscribe commands go to majordomo@postgresql.org





view thread (16+ messages)  latest in thread

Message-ID: <5.1.0.14.0.20010820202024.0366a008@mail.upnix.com>
Permalink:  ../5.1.0.14.0.20010820202024.0366a008@mail.upnix.com/
Also on:    postgresql.org/message-id/5.1.0.14.0.20010820202024.0366a008@mail.upnix.com

 · 

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: chris@upnix.com, benny@bennyvision.com
  Subject: Re: Multiple Servers
  In-Reply-To: <5.1.0.14.0.20010820202024.0366a008@mail.upnix.com>
  References: <5.1.0.14.0.20010820190226.03631f88@mail.upnix.com> <5.1.0.14.0.20010820202024.0366a008@mail.upnix.com>

* 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