running a script on remote server.

I need to run a script on a remote server from my ksh script. The issue I'm having is that I need to logon to the remote server as a different user. (see the following)

logged on to server 1 as adsmgr
neet to log on to server 2 as odemgr run passwd_util.ksh

Thanks in advance.

Use an r-command (rexec, rsh, ...) either with or without kerberos or use a securefied command (ssh) to achieve the same. Either way it will have to be configured on both machines before use.

bakunin