This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
redirecting password entry
- From: Noel Yap <yap_noel at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 6 Aug 2002 07:38:46 -0700 (PDT)
- Subject: redirecting password entry
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/