delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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 AT towo DOT 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 AT cygwin DOT com |
Subject: | Security Warning: Re: Behaviours of Terminal Versus Script when using "<<" |
References: | <29720777 DOT post AT talk DOT nabble DOT com> |
In-Reply-To: | <29720777.post@talk.nabble.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT 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 AT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |