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

Home -> Community -> Mailing Lists -> Oracle-L -> Role Not Granted to User

Role Not Granted to User

From: Ken Janusz <ken.janusz_at_sufsys.com>
Date: Thu, 20 Dec 2001 15:12:08 -0800
Message-ID: <F001.003E149F.20011220140020@fatcity.com>

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).
Received on Thu Dec 20 2001 - 17:12:08 CST

Original text of this message

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