pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Peter Elmers <p.elmers@gmx.de>
To: pgsql-admin@postgresql.org
Subject: Re: adding a user with the permission to create trimmed users
Date: Fri, 17 Aug 2007 12:05:07 -0500
Message-ID: <46C58EF2.EE98.0025.0@wicourts.gov> (raw)
In-Reply-To: <389EEEE3-3B4E-4B0C-B16B-7F61E8EDE76C@gmx.de>
References: <389EEEE3-3B4E-4B0C-B16B-7F61E8EDE76C@gmx.de>

>>> 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
 





view thread (5+ messages)  latest in thread

Message-ID: <46C58EF2.EE98.0025.0@wicourts.gov>
Permalink:  ../46C58EF2.EE98.0025.0@wicourts.gov/
Also on:    postgresql.org/message-id/46C58EF2.EE98.0025.0@wicourts.gov

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, p.elmers@gmx.de
  Subject: Re: adding a user with the permission to create trimmed users
  In-Reply-To: <46C58EF2.EE98.0025.0@wicourts.gov>

* 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