delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Thu, 19 Sep 2002 19:29:39 -0500 |
From: | bounces AT trodman DOT com |
Message-Id: | <200209200029.g8K0TdM31769@tigris.pounder.sol.net> |
X-Authentication-Warning: | tigris.pounder.sol.net: rodmant set sender to bounces AT trodman DOT com using -f |
To: | "Alistair Grant" <alistair AT alphalink DOT com DOT au>, cygwin AT cygwin DOT com |
Fcc: | usenet |
X-note: | 1G0!G/usr/sbin/sendmail -v -t -fbounces AT trodman DOT com # for less traceable mail |
Mime-Version: | 1.0 |
Subject: | Re: Fw: Telnet Script? |
In-reply-to: | Your message of "Mon, 16 Sep 2002 06:33:07 +1000." |
<006e01c25cf7$1bd13c50$3261a1ca AT graal04> |
-------- Alistair: I have been able to write cygwin expect scripts to telnet to remote boxes running the cygwin telnetd and then subsequently invoke bash scripts. I did this to work around the in-ability to map network drives under cron (cron calls the expect script that telnets in to launch the bash script :->). I can e-mail you an example ;let me know. -- regards, Tom Rodman perl -e 'print unpack("u", "\.\=\$\!T\<F\]D\;6\%N\+F\-O\;0H\`");' On Mon 9/16/02 6:33 +1000 "Alistair Grant" wrote: >Daniel wrote: >> Start the script in Cygwin on my machine. Change the password for my user, >> then subsequently telnet into another machine, and then change the >password >> for the account that I use on that machine. I have ideas of how to manage >> the passwords for whatever machine is current, but I am wondering if there >> is a way to control things based on what a user might see, but through an >> automated script. Does anyone have an example of how this could be done? >Or >> does someone have a suggestion of where to find information on this? > > >I haven't used it, however take a look at the "expect" package. It's >purpose is to script the input to other interactive programs. > >Hope this helps, > >Alistair. > > >-- >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/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |