Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: ORA-01031: insufficient privileges
It's a developer DBA account, and the DBA role has too much, so it's
only...
12:12:23 SQL> select * from user_role_privs;
USERNAME GRANTED_ROLE ADM DEFOS_
OPS$JNJDBA CONNECT YES YES NO OPS$JNJDBA RESOURCE YES YES NO OPS$JNJDBA SELECT_CATALOG_ROLE NO YES NO
Elapsed: 00:00:00.01
12:56:32 SQL> select * from user_sys_privs;
USERNAME PRIVILEGEADM
OPS$JNJDBA CREATE SESSION YES OPS$JNJDBA CREATE USERNO
Elapsed: 00:00:00.00
13:02:02 SQL> sho user
USER is "OPS$JNJDBA"
13:03:06 SQL>
-----Original Message-----
Sent: Thursday, October 17, 2002 12:55 PM
To: 'ORACLE-L_at_fatcity.com'
Cc: Grabowy, Chris
Chris,
Does the OPS$JNJDBA account have DBA privs?
Tom Mercadante
Oracle Certified Professional
-----Original Message-----
Sent: Thursday, October 17, 2002 1:28 PM
To: Multiple recipients of list ORACLE-L
11:54:32 SQL> GRANT RESOURCE TO JNJDSS_STG_T;
GRANT RESOURCE TO JNJDSS_STG_T
*
ERROR at line 1:
ORA-01031: insufficient privileges
11:54:39 SQL> sho user
USER is "OPS$JNJDBA"
11:54:45 SQL> select * from user_role_privs where granted_role =
'RESOURCE';
USERNAME GRANTED_ROLE ADM DEFOS_
OPS$JNJDBA RESOURCE YES YES NO
11:54:52 SQL> select * from v$version;
BANNER
11:54:57 SQL> select username from all_users where username = 'JNJDSS_STG_T'; USERNAME
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Grabowy, Chris INET: cgrabowy_at_fcg.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting servicesReceived on Thu Oct 17 2002 - 13:12:54 CDT
---------------------------------------------------------------------
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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Grabowy, Chris INET: cgrabowy_at_fcg.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
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).