From bagley@traderonline.com Fri Nov 7 20:48:31 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8DE9FD1B4F1 for ; Fri, 7 Nov 2003 20:48:31 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 91206-10 for ; Fri, 7 Nov 2003 16:48:02 -0400 (AST) Received: from neomail03.traderonline.com (unknown [65.213.231.7]) by svr1.postgresql.org (Postfix) with ESMTP id 4049FD1B4F9 for ; Fri, 7 Nov 2003 16:47:50 -0400 (AST) Received: from traderonline.com ([10.2.1.141]) by neomail03.traderonline.com (8.12.8/8.12.8) with ESMTP id hA7Klpxv021021 for ; Fri, 7 Nov 2003 15:47:51 -0500 Message-ID: <3FAC04F6.4090802@traderonline.com> Date: Fri, 07 Nov 2003 15:47:50 -0500 From: "bagley@traderonline.com" Reply-To: bagley@traderonline.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: revoke create table from a user Content-Type: multipart/alternative; boundary="------------010206040702050500000006" X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=HTML_50_60, USER_AGENT_MOZILLA_UA X-Spam-Level: X-Archive-Number: 200311/148 X-Sequence-Number: 11135 This is a multi-part message in MIME format. --------------010206040702050500000006 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I am trying to revoke the create table privilege from a user in a database. I have revoked create on database and on the public schema, yet I can still create table as that user. what else do I need to do? thanks, Jim Bagley Database Manager Trader Electronic Media (757) 321-8409 (work) (757) 343-1768 (cell) www.Employmentguide.com - Bringing Employers and Jobseekers Together. www.ForRent.com - Nation's Leading Apartment Rental Source. www.HarmonHomes.com - Your Home Site on the Web. www.ParenthoodWeb.com - Pregnancy and Parenting Advice, Baby Names and More. www.Roomsaver.com - 6000+ Lodging Coupons. www.TraderOnline.com - Boats, RVs, Collector Cars, Motorcycles and More. --------------010206040702050500000006 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit I am trying to revoke the create table privilege from a user in a database. 

I have revoked create on database and on the public schema, yet I can still create table as that user.  what else do I need to do?

thanks,

signature

Jim Bagley
Database Manager
Trader Electronic Media
(757) 321-8409 (work)
(757) 343-1768 (cell)

www.Employmentguide.com - Bringing Employers and Jobseekers Together.
www.ForRent.com - Nation's Leading Apartment Rental Source.
www.HarmonHomes.com - Your Home Site on the Web.
www.ParenthoodWeb.com - Pregnancy and Parenting Advice, Baby Names and More.
www.Roomsaver.com - 6000+ Lodging Coupons.
www.TraderOnline.com - Boats, RVs, Collector Cars, Motorcycles and More.

 

--------------010206040702050500000006-- From bruno@wolff.to Sat Nov 8 22:15:58 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E2A81D1B500 for ; Sat, 8 Nov 2003 22:15:58 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 44136-05 for ; Sat, 8 Nov 2003 18:15:30 -0400 (AST) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 2D850D1B4F8 for ; Sat, 8 Nov 2003 18:15:27 -0400 (AST) Received: (qmail 26885 invoked by uid 500); 8 Nov 2003 22:13:50 -0000 Date: Sat, 8 Nov 2003 16:13:50 -0600 From: Bruno Wolff III To: "bagley@traderonline.com" Cc: pgsql-admin@postgresql.org Subject: Re: revoke create table from a user Message-ID: <20031108221350.GB26691@wolff.to> Mail-Followup-To: "bagley@traderonline.com" , pgsql-admin@postgresql.org References: <3FAC04F6.4090802@traderonline.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FAC04F6.4090802@traderonline.com> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/152 X-Sequence-Number: 11139 On Fri, Nov 07, 2003 at 15:47:50 -0500, "bagley@traderonline.com" wrote: > I am trying to revoke the create table privilege from a user in a > database. > > I have revoked create on database and on the public schema, yet I can > still create table as that user. what else do I need to do? Is that user a superuser? If you gave that user the ability to create new users then they are a superuser and access controls don't apply to them. From bagley@traderonline.com Mon Nov 10 15:30:51 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 91AF2D1B532 for ; Mon, 10 Nov 2003 15:30:51 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 22081-07 for ; Mon, 10 Nov 2003 11:30:24 -0400 (AST) Received: from neomail03.traderonline.com (unknown [65.213.231.7]) by svr1.postgresql.org (Postfix) with ESMTP id B294CD1B504 for ; Mon, 10 Nov 2003 11:30:19 -0400 (AST) Received: from traderonline.com ([10.2.1.141]) by neomail03.traderonline.com (8.12.8/8.12.8) with ESMTP id hAAFUNb1003525; Mon, 10 Nov 2003 10:30:23 -0500 Message-ID: <3FAFAF0F.7090008@traderonline.com> Date: Mon, 10 Nov 2003 10:30:23 -0500 From: "bagley@traderonline.com" Reply-To: bagley@traderonline.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruno Wolff III Cc: pgsql-admin@postgresql.org Subject: Re: revoke create table from a user References: <3FAC04F6.4090802@traderonline.com> <20031108221350.GB26691@wolff.to> In-Reply-To: <20031108221350.GB26691@wolff.to> Content-Type: multipart/alternative; boundary="------------030808010603070304080204" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/162 X-Sequence-Number: 11149 This is a multi-part message in MIME format. --------------030808010603070304080204 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit no, not on the database. I specified NOCREATEDATABASE and NOCREATEUSER when creating the user. and...the user does not belong to any groups. the user in question is bolded. usename | usesysid | usecreatedb | usesuper | usecatupd | passwd | valuntil | useconfig ----------+----------+-------------+----------+-----------+-------------------------------------+----------+----------- db | 102 | f | f | f | md589a7f6028a19c3dc081cc5f16eb53891 | | postgres | 1 | t | t | t | md53175bce1d3201d16594cebf9d7eb3f9d | | webdev | 103 | f | f | f | md5980e74dba6ed3e28daccbc8d2150c9fb | | thanks, Jim Bruno Wolff III wrote: >On Fri, Nov 07, 2003 at 15:47:50 -0500, > "bagley@traderonline.com" wrote: > > >>I am trying to revoke the create table privilege from a user in a >>database. >> >>I have revoked create on database and on the public schema, yet I can >>still create table as that user. what else do I need to do? >> >> > >Is that user a superuser? If you gave that user the ability to create >new users then they are a superuser and access controls don't apply >to them. > > > > -- Jim Bagley Database Manager Trader Electronic Media (757) 321-8409 (work) (757) 343-1768 (cell) www.Employmentguide.com - Bringing Employers and Jobseekers Together. www.ForRent.com - Nation's Leading Apartment Rental Source. www.HarmonHomes.com - Your Home Site on the Web. www.ParenthoodWeb.com - Pregnancy and Parenting Advice, Baby Names and More. www.Roomsaver.com - 6000+ Lodging Coupons. www.TraderOnline.com - Boats, RVs, Collector Cars, Motorcycles and More. --------------030808010603070304080204 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit no, not on the database.  I specified NOCREATEDATABASE and NOCREATEUSER when creating the user.  and...the user does not belong to any groups.  the user in question is bolded.


 usename  | usesysid | usecreatedb | usesuper | usecatupd |               passwd                | valuntil | useconfig
----------+----------+-------------+----------+-----------+-------------------------------------+----------+-----------
 db       |      102 | f           | f        | f         | md589a7f6028a19c3dc081cc5f16eb53891 |          |
 postgres |        1 | t           | t        | t         | md53175bce1d3201d16594cebf9d7eb3f9d |          |
 webdev   |      103 | f           | f        | f         | md5980e74dba6ed3e28daccbc8d2150c9fb |          |



thanks,


Jim

Bruno Wolff III wrote:
On Fri, Nov 07, 2003 at 15:47:50 -0500,
  "bagley@traderonline.com" <bagley@traderonline.com> wrote:
  
I am trying to revoke the create table privilege from a user in a 
database. 

I have revoked create on database and on the public schema, yet I can 
still create table as that user.  what else do I need to do?
    

Is that user a superuser? If you gave that user the ability to create
new users then they are a superuser and access controls don't apply
to them.


  

--
signature

Jim Bagley
Database Manager
Trader Electronic Media
(757) 321-8409 (work)
(757) 343-1768 (cell)

www.Employmentguide.com - Bringing Employers and Jobseekers Together.
www.ForRent.com - Nation's Leading Apartment Rental Source.
www.HarmonHomes.com - Your Home Site on the Web.
www.ParenthoodWeb.com - Pregnancy and Parenting Advice, Baby Names and More.
www.Roomsaver.com - 6000+ Lodging Coupons.
www.TraderOnline.com - Boats, RVs, Collector Cars, Motorcycles and More.

 

--------------030808010603070304080204--