X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0	tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4C9122C1.7040902@towo.net>
Date: Wed, 15 Sep 2010 21:47:13 +0200
From: Thomas Wolff <towo@towo.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Security Warning: Re: Behaviours of Terminal Versus Script when using "<<"
References: <29720777.post@talk.nabble.com>
In-Reply-To: <29720777.post@talk.nabble.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

  Am 15.09.2010 19:18, schrieb delbydev:
> Hello
> Have hunted all over for this one but it seems no one else has reported the
> issue - maybe because they don't use the feature or there is something awry
> with my installation
>
> I write scripts that dart in and out of databases
>
> I bind my Oracle connection string into a number of variables in my .profile
>
> ORACLE_HOME='c:\\Oracle\\product\\11.2.0\\dbhome_2' export ORACLE_HOME
> mydbconn="${ORACLE_HOME}\\bin\\sqlplus -s mydbuser/mydbpass@mydbhost" export
> mydbconn
>
> so when I want to dart into the database - I perform the following from the
> terminal command line
> ${mydbconn}
> ...
Not answering your question (others did), but be aware:
It is a very, very bad idea in general to place a password on the 
command line because every user on your machine can see your password. 
Do this on your home machine for testing only.
------
Thomas

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

