I don't think you can. You could use rlogin, which will bypass the user/password, assuming your current user/password exists on the remote system. (Yes I know that rlogin is not secure, so get off the soapbox.)
Another option is to use ssh. You can define key-pairs for the local and remote systems, or configure /etc/hosts.equiv to do what you want. Scott Ballinger Pareto Corporation Edmonds WA USA 206-713-6006 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stu Glancy Sent: Thursday, October 28, 2004 2:37 PM To: [EMAIL PROTECTED] Subject: Re: [U2][UV]telnet Too simple. How do you pass the user id and password? Lance Jahnke wrote: >CMD='SH -c "telnet myserver"' >EXECUTE CMD >END >* UniVerse > > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Stu Glancy >Sent: Thursday, October 28, 2004 1:54 PM >To: [EMAIL PROTECTED] >Subject: [U2][UV]telnet > >I want to create a telnet script from a program and execute it. Can it >be done? If it can, what would the EXECUTE look like? What would the >script look like? I'm looking for concept and a little detail. >------- >u2-users mailing list >[EMAIL PROTECTED] >To unsubscribe please visit http://listserver.u2ug.org/ >------- >u2-users mailing list >[EMAIL PROTECTED] >To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/