Skip to Main Content

Database Software

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!

Connecting to RMAN catalog while hiding password

CatinredbootsDec 8 2016 — edited Dec 14 2016

Hello,

How can I connect to rman catalog while hiding password using .sh script in linux?

This is how part of my script where I'm connecting looks like:

${ORACLE_HOME}/bin/$RMAN target / catalog rman/password@rmancat cmdfile "$RMAN_SCRIPT" msglog "$RMAN_LOG"

I know that I can create a separate file and just call that file from the my main script. But how can I do it?

connect target sys/syspassowrd@trgt

backup database;

rman @backup.rman

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 11 2017
Added on Dec 8 2016
16 comments
3,181 views