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: Role Not Granted to User

RE: Role Not Granted to User

From: Johnston, Tim <TJohnston_at_quallaby.com>
Date: Thu, 20 Dec 2001 15:41:41 -0800
Message-ID: <F001.003E15A9.20011220152019@fatcity.com>

You need to grant the role to KENNETH...

Grant role KCJ to KENNETH;

Tim

-----Original Message-----
Sent: Thursday, December 20, 2001 5:00 PM To: Multiple recipients of list ORACLE-L

I created the role KCJ and granted it create session, create user, alter user. Then I did alter user Kenneth default role KCJ. Then I went to login at sqlplus and get this error.

>From the DD views I get:

Grantee: SYS

Granted_role: KCJ
Admin_option: yes
Default_role: no
 

nic13> alter user KENNETH default role KCJ; alter user KENNETH default role KCJ
*
ERROR at line 1:
ORA-01955: DEFAULT ROLE 'KCJ' not granted to user

What have I missed?

Thanks,

Ken

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ken Janusz
  INET: ken.janusz_at_sufsys.com

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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Johnston, Tim
  INET: TJohnston_at_quallaby.com

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 Thu Dec 20 2001 - 17:41:41 CST

Original text of this message

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