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: ORA-01031: insufficient privileges

RE: ORA-01031: insufficient privileges

From: Grabowy, Chris <cgrabowy_at_fcg.com>
Date: Thu, 17 Oct 2002 10:12:54 -0800
Message-ID: <F001.004EC672.20021017101254@fatcity.com>


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 DEF
OS_
------------------------------ ------------------------------ --- ---
---
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                       PRIVILEGE
ADM
------------------------------ ----------------------------------------
---
OPS$JNJDBA                     CREATE SESSION
YES
OPS$JNJDBA                     CREATE USER
NO

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 DEF
OS_
------------------------------ ------------------------------ --- ---
---
OPS$JNJDBA                     RESOURCE                       YES YES NO

11:54:52 SQL> select * from v$version;

BANNER



Oracle8i Enterprise Edition Release 8.1.7.3.0 - Production PL/SQL Release 8.1.7.3.0 - Production
CORE 8.1.7.0.0 Production
TNS for Solaris: Version 8.1.7.3.0 - Production NLSRTL Version 3.4.1.0.0 - Production

11:54:57 SQL> select username from all_users where username = 'JNJDSS_STG_T'; USERNAME



JNJDSS_STG_T What the heck??? (shaking my head) What am I missing here?? Help?
-- 
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). -- 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).
Received on Thu Oct 17 2002 - 13:12:54 CDT

Original text of this message

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