Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> User w/only slct,cnnct,cr session can create tables?

User w/only slct,cnnct,cr session can create tables?

From: Rob Williamson <robw_at_physics.umd.edu>
Date: Mon, 05 Mar 2001 11:08:09 -0500
Message-ID: <3AA3B9E9.3571A53B@physics.umd.edu>

I have recently created a user and role in the following way:

--CONNECT AS SYSTEM
CREATE USER rds IDENTIFIED by &password

	DEFAULT TABLESPACE userdata
	TEMPORARY TABLESPACE temporary
	QUOTA 10M ON userdata; 

GRANT QUERY TO rds;

--CONNECT AS TableOwner
grant select on oehead to QUERY;
grant select on oedetl to QUERY;
grant select on PO_HEADER to QUERY;
grant select on PO_DETAIL to QUERY;
grant select on VENDOR to QUERY;
SPOOL OFF
/

This user can now create tables and drop them which I would not like him to do.
I tried removing create session but then Oracle will not let me log in via sqlplus.
Am I missing something here, I thought you had to explicitly give these permissions?

Thanks
Rob Received on Mon Mar 05 2001 - 10:08:09 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US