Quoting Austad, Jay (austad at marketwatch.com):
> Does anyone have a good solution for executing the same command to multiple
> boxes?
> 
> I have a cluster of mailservers, and when I do things on one, I frequently
> need to do them across all of them.  Ssh'ing into each box is too time
> consuming.

expect is your friend.

Install expect and look at 

/usr/bin/autopasswd
/usr/bin/passmass

For examples.
-- 
Minneapolis St. Paul Twin Cities MN        | Phone : (952)943-8700
http://www.mn-linux.org Minnesota Linux    | Fax   : (952)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9