This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Fw: Telnet Script?
- From: bounces at trodman dot com
- To: "Alistair Grant" <alistair at alphalink dot com dot au>, cygwin at cygwin dot com
- Date: Thu, 19 Sep 2002 19:29:39 -0500
- Subject: Re: Fw: Telnet Script?
- Fcc: usenet
--------
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/