pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
revoke create table from a user
3+ messages / 2 participants
[nested] [flat]

* revoke create table from a user
@ 2003-11-07 20:47  bagley@traderonline.com <bagley@traderonline.com>
  0 siblings, 1 reply; 3+ messages in thread

From: bagley@traderonline.com @ 2003-11-07 20:47 UTC (permalink / raw)
  To: pgsql-admin

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 <http://www.employmentguide.com; - Bringing 
Employers and Jobseekers Together.
www.ForRent.com <http://www.forrent.com; - Nation's Leading Apartment 
Rental Source.
www.HarmonHomes.com <http://www.harmonhomes.com; - Your Home Site on the 
Web.
www.ParenthoodWeb.com <http://www.parenthoodweb.com; - Pregnancy and 
Parenting Advice, Baby Names and More.
www.Roomsaver.com <http://www.roomsaver.com; - 6000+ Lodging Coupons.
www.TraderOnline.com <http://www.traderonline.com; - Boats, RVs, 
Collector Cars, Motorcycles and More.

 

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: revoke create table from a user
@ 2003-11-08 22:13  Bruno Wolff III <bruno@wolff.to>
  parent: bagley@traderonline.com <bagley@traderonline.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Bruno Wolff III @ 2003-11-08 22:13 UTC (permalink / raw)
  To: bagley@traderonline.com <bagley@traderonline.com>; +Cc: pgsql-admin

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.



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: revoke create table from a user
@ 2003-11-10 15:30  bagley@traderonline.com <bagley@traderonline.com>
  parent: Bruno Wolff III <bruno@wolff.to>
  0 siblings, 0 replies; 3+ messages in thread

From: bagley@traderonline.com @ 2003-11-10 15:30 UTC (permalink / raw)
  To: Bruno Wolff III <bruno@wolff.to>; +Cc: pgsql-admin

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

-- 

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

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

 

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-11-10 15:30 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-07 20:47 revoke create table from a user bagley@traderonline.com <bagley@traderonline.com>
2003-11-08 22:13 ` Bruno Wolff III <bruno@wolff.to>
2003-11-10 15:30   ` bagley@traderonline.com <bagley@traderonline.com>

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