telnet and run scripts

See:
changepass automate password changes on multiple systems
as an example of my approach to this.