Unix Shell - Running Expect on Multiple Servers

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > May 2004 > Running Expect on Multiple Servers





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Running Expect on Multiple Servers
DOKNIK

2004-05-24, 2:30 am

All,
I have written a script that automatically changes root password sucessfully
..This involves using or installing a package called expect(together with it
pre-reqisite packages eg libccc, tk, tcl ).However ,i need to set this up on
several other servers about 50 servers
I am trying to find a clever way of running this command on one box and
then this would run on the rest of the servers.Is there a way of doing this
without having to install Expect and its pre-requisites on each of the 50
servers.

Even is there a way of doing this without using

Does any one know any clever script or utility that can do this.I have been
told this can be done using perl, however I am not a PERL expert.I only use
korn and Bourne shell.

Any sugestions would be welcome.These servers mostly run solaris 7 and 8 and
are hardened accross the network,
Access to these servers are strictly via SSH.

This script resets the root password automatically without having to enter
a password manually.

Any help would be greatly appreciated.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com