RE: User Management

From: "Chris Cameron" <chris(at)UpNIX(dot)com>
To: "D(dot) Duccini" <duccini(at)backpack(dot)com>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: RE: User Management
Date: 2001-07-04 23:35:13
Message-ID: CPECLBOMCGAECJLMHKMDCENCCAAA.chris@UpNIX.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

This has been working well so far, thanks.

Um, looking at http://www.postgresql.org/idocs/index.php?privileges.html
it seems to be that I'm not actually able to do what I want. Am I
correct in believing that to let a user create tables and change tables
in a database, they actually have to had created it? The best I can do
is grant privileges on premade tables?

Thanks,
Chris

-----Original Message-----
From: pgsql-novice-owner(at)postgresql(dot)org
[mailto:pgsql-novice-owner(at)postgresql(dot)org]On Behalf Of D. Duccini
Sent: Wednesday, July 04, 2001 5:01 PM
To: Chris Cameron
Cc: pgsql-novice(at)postgresql(dot)org
Subject: RE: [NOVICE] User Management

postgres=# \h grant
Command: GRANT
Description: Grants access privilege to a user, a group or all users
Syntax:
GRANT privilege [, ...] ON object [, ...]
TO { PUBLIC | GROUP group | username }

> That doesn't solve my problem of whoever creates the database owns the
> database.
>
> I'd like to have user 'joe' have access /only/ to the database
'chris'.
> As far as I can tell the only way to do this is have 'joe' create the
> database.
>
> I'm looking for the equivalent to 'GRANT ALL ON chris to joe(at)localhost
> identified by 'joepass';' in MySQL.
>
> Chris
>
> -----Original Message-----
> From: D. Duccini [mailto:duccini(at)backpack(dot)com]
> Sent: Wednesday, July 04, 2001 4:48 PM
> To: Chris Cameron
> Cc: pgsql-novice(at)postgresql(dot)org
> Subject: Re: [NOVICE] User Management
>
>
>
> use the "createuser" command
>

------------------------------------------------------------------------
-----
david(at)backpack(dot)com BackPack Software, Inc.
www.backpack.com
+1 651.645.7550 voice "Life is an Adventure.
+1 651.645.9798 fax Don't forget your BackPack!"
------------------------------------------------------------------------
-----

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Giorgio A. 2001-07-05 09:09:29 Re: User Management
Previous Message Chris Cameron 2001-07-04 23:02:10 RE: User Management