delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/06/10:39:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <20020806143846.15319.qmail@web21406.mail.yahoo.com>
Date: Tue, 6 Aug 2002 07:38:46 -0700 (PDT)
From: Noel Yap <yap_noel AT yahoo DOT com>
Subject: redirecting password entry
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

I apologize in advance if this is off topic.  I was
wondering if maybe this is a general problem Cygwin,
passwords, and inline scripts, or if this was specific
to Cygwin and Sybase.

I'm trying to use Sybase's isql by doing the
following:
isql -S server -U user <<EOF
$password
$command
go
quit
go
EOF

where $password holds the password and $command holds
the command to be executed.

Under Cygwin (with various settings of tty) isql still
prompts for a password.  If I use the -P option to
isql and leave the rest of the inline script alone,
isql works fine.

Under Solaris isql works fine.

Am I missing something?

TIA,
Noel

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019