ksh telnet script

Here is a script that does that...
changepass automate password changes on multiple systems