Hi,
U can use rsh to run commands on another server without having to enter password.U can do so by entering the hostname and user-id entry in /.rhosts and /etc/hosts.equiv files of both servers as
hostname [username]
Then from one server ,say serverA ,run the command as:-
serverA#rsh serverB who (This command runs and displays the users connected on serverB)
I hope this helps....