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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: RESOURCE role

RE: RESOURCE role

From: Reardon, Bruce (CALBBAY) <Bruce.Reardon_at_comalco.riotinto.com.au>
Date: Mon, 30 Apr 2001 20:30:10 -0700
Message-ID: <F001.002F603D.20010430200046@fatcity.com>

Granting RESOURCE will grant unlimited tablespace privilege.

They will then be able to create a table in any valid tablespace.

One way to see what privileges are granted by resource is to grant it, connect as the user it was just granted to and do a "select * from session_privs;"

To find the privilege related views you might want to use "select * from dict where table_name like '%PRIV%';"
Note that resource does not show up in role_sys_privs.

Regards,
Bruce Reardon

-----Original Message-----
Sent: Tuesday, 1 May 2001 8:25
To: Multiple recipients of list ORACLE-L

> -----Original Message-----
> From: Hand, Michael T [mailto:HANDM_at_polaroid.com]
> Sent: lundi, 30. avril 2001 14:42
> To: Multiple recipients of list ORACLE-L
> Subject: RESOURCE role
>
>
> Listers,
> 8.0.6
> What privilege granted to the RESOURCE role allows a grantee
> to create a
> table in any tablespace? I didn't see any relevent system
> privilege in the
> view DBA_SYS_PRIVS nor in the various other view. Am I
> looking in the wrong
> place?

The RESOURCE role is created via $ORACLE_HOME/rdbms/admin/sql.bsq You can look at that file, or you could query

DBA_ROLES 
DBA_ROLE_PRIVS 
DBA_SYS_PRIVS 
DBA_TAB_PRIVS 
DBA_COL_PRIVS 

Choosing a tablespace for a segment, however, is determined by the quotas allowed to the user. Check view DBA_TS_QUOTAS.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Reardon, Bruce (CALBBAY)
  INET: Bruce.Reardon_at_comalco.riotinto.com.au

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Apr 30 2001 - 22:30:10 CDT

Original text of this message

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