Re: adding a user with the permission to create trimmed users

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Peter Elmers" <p(dot)elmers(at)gmx(dot)de>,<pgsql-admin(at)postgresql(dot)org>
Subject: Re: adding a user with the permission to create trimmed users
Date: 2007-08-17 17:05:07
Message-ID: 46C58EF2.EE98.0025.0@wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>>> On Fri, Aug 17, 2007 at 4:50 AM, in message
<389EEEE3-3B4E-4B0C-B16B-7F61E8EDE76C(at)gmx(dot)de>, Peter Elmers <p(dot)elmers(at)gmx(dot)de>
wrote:
> I want to know whether there exist the possibility to create a user
> who has the permission to create users with preset limited permissions.
>
> In detail:
> I do not want that the admin user (a seperate limited one for the
> customer) is able to create full admin users or adequate ones.

Without more detail it is hard to give a specific answer, but it is possible
to grant a user the right to grant specific permissions. See:

http://www.postgresql.org/docs/8.2/interactive/sql-grant.html

http://www.postgresql.org/docs/8.2/interactive/sql-revoke.html

Pay particular attention to "WITH GRANT OPTION" and "WITH ADMIN OPTION", as
well as the discussion of the public group. (You will probably need to
revoke some of the default rights of the public group.)

If you can't get it to work as desired, please post again with more
specifics.

-Kevin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ben Kim 2007-08-17 17:28:14 Re: adding a user with the permission to create trimmed users
Previous Message Hilton Perantunes 2007-08-17 11:28:27 Re: Yet Another Socket .s.PGSQL.5432 Problem