pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Dan MacNeil <dan@ltc.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_hba.conf file review
Date: Thu, 21 Nov 2002 14:45:46 -0600
Message-ID: <20021121204546.GA7830@wolff.to> (raw)
In-Reply-To: <007d01c2918a$2ed1a200$923a8018@prometheus>
References: <007d01c2918a$2ed1a200$923a8018@prometheus>

On Thu, Nov 21, 2002 at 13:16:50 -0500,
  Dan MacNeil <dan@ltc.org> wrote:
> 
> Right now we give a user full privledges to the database, named after
> the user by
> 
> 1) creating the user with CREATEDB
> 2) Give the user the right to connect to the database dummy
> 3) creating a database as that user
> 4) taking away the users rights to CREATEDB
> 
> Is there a less kludgy way?

In 7.3:
CREATEDB DATABASE dbname OWNER username



view thread (3+ messages)  latest in thread

Message-ID: <20021121204546.GA7830@wolff.to>
Permalink:  ../20021121204546.GA7830@wolff.to/
Also on:    postgresql.org/message-id/20021121204546.GA7830@wolff.to

 · 

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: bruno@wolff.to, dan@ltc.org
  Subject: Re: pg_hba.conf file review
  In-Reply-To: <20021121204546.GA7830@wolff.to>
  References: <007d01c2918a$2ed1a200$923a8018@prometheus> <20021121204546.GA7830@wolff.to>

* 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