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: Problem Setting Up User

RE: Problem Setting Up User

From: Nicoll, Iain (Calanais) <iain.nicoll_at_calanais.com>
Date: Thu, 03 Jan 2002 11:24:33 -0800
Message-ID: <F001.003E62A3.20020103110214@fatcity.com>

Maybe I'm reading it wrong but with the syntax of

alter user xxx default role all except role [,role]... and
alter user xxx default role all role [,role]...

according to my book then any combination of none, one, n, all would be possible.

Iain Nicoll
Duhveloper (I won't surprise anyone here if I'm wrong then)

-----Original Message-----
Sent: Thursday, January 03, 2002 6:38 PM To: Multiple recipients of list ORACLE-L

Not true. Only one role can be the default role, if specified. If not specified then ALL are default. That is the only time!

Thank You

Stephen P. Karniotis
Technical Alliance Manager
Compuware Corporation
Direct: (248) 865-4350
Mobile: (248) 408-2918
Email: Stephen.Karniotis_at_Compuware.com
Web: www.compuware.com

 -----Original Message-----
Sent: Thursday, January 03, 2002 12:30 PM

To:     Multiple recipients of list ORACLE-L
Subject:        Re: Problem Setting Up User

I beg to differ. A default role is simply one that is automatically enabled (or "set") upon login. Any or all of a user's roles may be default (see the definition of user_role_privs).

May I suggest, Rachel my friend, that *you* RTFM? :-D

> third, you can only have ONE default role. Think about it. If you
> really want the user to have the privs of several roles at once,
> create
> another role, a "superrole" that is granted both DB and RESOURCE and
> the grant that one as default.
>
> And you really do have to RTFM



Do You Yahoo!?
Send your FREE holiday greetings online! http://greetings.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Paul Baumgartel
  INET: treegarden_at_yahoo.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: Karniotis, Stephen
  INET: Stephen_Karniotis_at_compuware.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: Nicoll, Iain (Calanais)
  INET: iain.nicoll_at_calanais.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 Jan 03 2002 - 13:24:33 CST

Original text of this message

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