Re: pg_hba.conf file review

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Dan MacNeil <dan(at)ltc(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_hba.conf file review
Date: 2002-11-21 20:45:46
Message-ID: 20021121204546.GA7830@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Nov 21, 2002 at 13:16:50 -0500,
Dan MacNeil <dan(at)ltc(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bjoern Metzdorf 2002-11-21 20:53:02 Re: [ADMIN] H/W RAID 5 on slower disks versus no raid on
Previous Message scott.marlowe 2002-11-21 20:17:05 Re: [ADMIN] H/W RAID 5 on slower disks versus no raid on