RE: Default user permissions

  • From: <Joel.Patterson@xxxxxxxxxxx>
  • To: <Leo.Drobnis@xxxxxxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 8 Nov 2011 10:51:09 -0500

Personally, I skip connect role and just grant create session; but that's 
besides the point.   If you want minimum of permissions, why not say quota 0 on 
users.

Are you sure you checked dba_role_privs where grantee = 'CONNECT' and 
dba_sys_privs?  Because what you describe should not allow bb_stage to create 
tables without CREATE TABLE somewhere.



Joel Patterson
Database Administrator
904 727-2546

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx] On 
Behalf Of Leo Drobnis
Sent: Tuesday, November 08, 2011 10:44 AM
To: ORACLE-L
Subject: Default user permissions

I am a bit puzzled, maybe I am getting rusty.
 

I need to create a user with bare minimum permissions:

 

CREATE USER bb_stage

IDENTIFIED BY "password"

DEFAULT TABLESPACE users

TEMPORARY TABLESPACE TEMP;

GRANT CONNECT TO bb_stage;

ALTER USER bb_stage QUOTA UNLIMITED ON "USERS";

 

Connect role only has create session.

Public has no privileges.

 

However the newly created user can create and drop tables.

 

I am trying to find where it's coming from.

 

Any idea???


--
//www.freelists.org/webpage/oracle-l


--
//www.freelists.org/webpage/oracle-l


Other related posts: