This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]