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!

Shell script to reset the oracle database user password

793844Aug 26 2010 — edited Aug 26 2010
Hi All,

My goal is to reset the oracle user password in shell script via password command in oracle

example :
=========
password scott
Changing password for scott
New password:===> pass the password <=====
Retype new password:===> pass the password <=====
Password changed

question is how to pass this in the shell script ? i already have the script to reset the password via "Alter user " command.But we need this via password command.Thanks !

Regards
Kamal
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 23 2010
Added on Aug 26 2010
10 comments
9,708 views