Again, I beg to differ (with you and the others who questioned my
reponse), and I stand by my earlier post.
Oracle's "alter user" syntax allows for zero, one, or any number of the
user's granted roles to be designated as "default"; from the manual:
DEFAULT ROLE
Specify the roles granted by default to the user at logon. This clause
can contain only roles that have been granted directly to the user with
a GRANT statement.
[snip]
Oracle enables default roles at logon without requiring the user to
specify their passwords.
Paul Baumgartel
- "Karniotis, Stephen" <Stephen_Karniotis_at_compuware.com> wrote:
> 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
>
>
> --- Rachel Carmichael <wisernet100_at_yahoo.com> wrote:
>
> > 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).
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).
Received on Thu Jan 03 2002 - 17:23:05 CST