delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/15/16:33:23

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
Message-ID: <006e01c25cf7$1bd13c50$3261a1ca@graal04>
From: "Alistair Grant" <alistair AT alphalink DOT com DOT au>
To: <cygwin AT cygwin DOT com>
Subject: Fw: Telnet Script?
Date: Mon, 16 Sep 2002 06:33:07 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019