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

Home -> Community -> Usenet -> c.d.o.misc -> Re: trigger on alter user

Re: trigger on alter user

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 25 Jul 2006 07:51:15 -0700
Message-ID: <1153839075.604294.314620@i42g2000cwa.googlegroups.com>

martijnm.bos_at_gmail.com wrote:
> Hi all,
>
> In one of our databases we need 1 user to reset passwords from other
> users. (some kind of admin function). Ofcourse this "admin-user" may
> not change passwords etc. of sys or system. So granting "alter any
> user" to this admin is not a good idea.
> Doing this with a (sys-owned) procudure is not possible because the
> supplier is not willing to change a line of code in his application.
>
> My final thaugth : a trigger which checks whether the user to be
> altered is not sys or system......
> My questions:
> Is something like :"create trigger blabla on alter user ....."
> possible?
> Did I miss something in the documentation?
>
> Any pointers in the rigth direction are welcome.
>
> Best Regards
>
> Martijn

Look up database event triggers. You can create a trigger than fires on an ALTER command.

HTH -- Mark D Powell -- Received on Tue Jul 25 2006 - 09:51:15 CDT

Original text of this message

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