Kevin Loney wrote about it as "become_another_user.sql" starting in the
7.3 DBA Handbook.
the problem is, if you use and enforce password history, you can't make
the changes because the saved off password won't be allowed to be
reused unless you cycle through a bunch of passwords (as many as you
keep history for)
Rachel
- Stephane Faroult <sfaroult_at_oriole.com> wrote:
> Jack Silvey wrote:
> >
> > All,
> >
> > We have a new info security group that is going to do
> > all the object grants on our warehouse. I don't want
> > them to login as schema owners to do this.
> >
> > Until this time, I have been granting access to other
> > user's object by logging in as a dba, creating a
> > procedure in the owner's schema with the EXECUTE
> > immediate statement, and passing it the 'grant select
> > on table a' statement for execution. That way, the
> > grant actually executes as the object owner, but can
> > be issued from a DBA account.
> >
> > Short of having a custom SP in each user's schema for
> > this type of grant, can anyone think of another way?
> >
> > thx,
> >
> > jack silvey
> >
>
> Yup. Save SCOTT's encrypted password (DBA_USERS), change it to
> yaddayadda, CONNECT SCOTT/YADDAYADDA, ALTER USER SCOTT IDENTIFIED BY
> VALUES 'encrypted thing' and nobody has noticed anything; then, being
> SCOTT, you grant whatever you want. There is a become.sql on the
> Oriole
> site which does it, and I have seen very similar versions elsewhere.
> In
> fact this is the old way to do it ...
> --
> Regards,
>
> Stephane Faroult
> Oriole Software
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Stephane Faroult
> INET: sfaroult_at_oriole.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!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rachel Carmichael
INET: wisernet100_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 Mon Jun 10 2002 - 16:55:41 CDT