redirecting password entry

Noel Yap yap_noel@yahoo.com
Tue Aug 6 07:49:00 GMT 2002


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/



More information about the Cygwin mailing list