Re: Alternatives to RMAN cleartext password in batch file for backups?

From: Thomas Roach <troach_at_gmail.com>
Date: Sat, 23 Apr 2011 23:27:19 -0400
Message-ID: <BANLkTi=-WSXzVce8uX2QN1qMfYFnmH_CzA_at_mail.gmail.com>



Why don't you encrypt your shell script?

http://linux.koolsolutions.com/2009/01/20/howto-encrypting-a-shell-script-on-a-linux-or-unix-based-system/

On Sat, Apr 23, 2011 at 9:05 PM, Bill Myers <bwmyers_at_gmail.com> wrote:

> Hi all,
> I have the following commands in a batch file scheduled for daily
> execution:
>
> set oracle_sid=mydatadb
> rman target / catalog mycatusr/mycatpwd_at_mycatdb script Daily_Backup >>
> backup.log
>
> My organization requires the catalog password (mycatpwd) above to be
> encrypted and not stored as clear text in any other file or environment
> variable. How can I still use this batch file for scheduled backups without
> providing a clear text password?
>
> The only option I can think of is to compile the commands into a binary
> executable. Any other ideas besides that?
>
> Thanks in advance.
> Bill
>

-- 
Thomas Roach
813-404-6066
troach_at_gmail.com

--
http://www.freelists.org/webpage/oracle-l
Received on Sat Apr 23 2011 - 22:27:19 CDT

Original text of this message