Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to change password using password table?

unknown-1052419Mar 5 2014 — edited Mar 5 2014

Hi all,

11.2.0.1

aix6

Our database end-users like scott/tiger needs to change database password every month without loging in to sqlplus.

So they will enter the userid/password on a data-entry form like in apex where it stored in a table, example:

USERIDPassword
SCOTTOR@cle123

Then the user will click and update button to execute the change password command.

How do I create a script that will changa a db user password using an input table?

For example:

alter user scott identified by (select password from paswd_tbl where userid='SCOTT'); ???

Thanks a lot,

pK

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2014
Added on Mar 5 2014
29 comments
2,194 views