Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Alter User in Stored Procedure
Matthias Kleinicke wrote:
> Hi,
>
> John Rose schrieb:
>
>> I am using Oracle security for my application and would like to allow >> users to change their own passwords without using SQLPlus. I am >> attempting to use "ALTER USER username IDENTIFIED BY newpassword >> REPLACE oldpassword" in a stored procedure to provide this >> functionality, but it always gets an insufficent priveleges error. >> The users can change passwords freely at the SQLPlus prompt, but >> cannot do the same via the procedure. >> >> Does anyone have any ideas? >>
I would carefully test this approach for side effects. Using one invoker rights procedure (in an application, that uses owner rights through out) may cause context switching. So test the other procedures *after* a call to your change password proc.
-- Regards, Frank van Bortel Top-posting is one way to shut me up...Received on Tue Aug 16 2005 - 05:41:27 CDT
![]() |
![]() |