Skip to Main Content

Connecting to RMAN catalog while hiding password

CatinredbootsDec 8 2016 — edited Dec 11 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
Post Details
Added on Dec 8 2016
5 comments
453 views