telnet & su in shell script

Hi,

Any scripting experts out there that can point me to the right direction of writing a script using telnet and su to access a server without any users interaction such as login and entering passwd. Thanks.

Thanks in advance
vastare

Search the forums database for 'expect'. That should get you on your way.