Re: adding a user with the permission to create trimmed users - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: adding a user with the permission to create trimmed users
Date
Msg-id 46C58EF2.EE98.0025.0@wicourts.gov
Whole thread Raw
In response to adding a user with the permission to create trimmed users  (Peter Elmers <p.elmers@gmx.de>)
List pgsql-admin
>>> On Fri, Aug 17, 2007 at  4:50 AM, in message
<389EEEE3-3B4E-4B0C-B16B-7F61E8EDE76C@gmx.de>, Peter Elmers <p.elmers@gmx.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




pgsql-admin by date:

Previous
From: "Hilton Perantunes"
Date:
Subject: Re: Yet Another Socket .s.PGSQL.5432 Problem
Next
From: Ben Kim
Date:
Subject: Re: adding a user with the permission to create trimmed users