Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to encrypt shell scripts on Unix

Re: How to encrypt shell scripts on Unix

From: Jared Still <jkstill_at_gmail.com>
Date: Thu, 12 Oct 2006 11:23:54 -0700
Message-ID: <bf46380610121123k11ff382bre804dad5e8ca9f7f@mail.gmail.com>


On 10/11/06, Hameed, Amir <Amir.Hameed_at_xerox.com> wrote:

>

> Hi folks,
> I am interested in knowing if anyone has successfully encrypt their
> shell scripts (particularly on Solaris) that contained sensitive
> information (passwords, etc..) and how did they do it. I am trying to
> use the "shc" utility which is supposed to do the job but it is not
> working and keeps giving errors.
> Any feedback will be appreciated.

You may want to consider an alternative: do not put sensitive information (like passwords) into shell scripts.

Use some type of password server to supply passwords to the script at runtime.

Benefits are twofold:
1) no passwords in your scripts.
2) when passwords change, no modifications to the script are required.

-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Oct 12 2006 - 13:23:54 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US