Try:

CMD='SH -c "telnet myserver -l myuser << EOF ' : char(10):' password ' : char(10): ' EOF"'

That should pass in the password to the prompt via the "<<" input chevron. The "EOF" signals where the inputs should stop...

Andrew

Andrew McLaughlin - Business Systems Manager - Shurflo Pump LLC - Pentair Water Group
[EMAIL PROTECTED] - http://www.shurflo.com/
5900 Katella Ave - Cypress, CA 90630-5009
Main: 562-797-6668 - Cell: 714-270-6727


On Oct 28, 2004, at 2:36 PM, Stu Glancy wrote:

Too simple.  How do you pass the user id and password?

Lance Jahnke wrote:

CMD='SH -c "telnet myserver"'
EXECUTE CMD
END
* UniVerse
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to