I want a script which does something like this form host2 :-
xhost +
rlogin host1 -l user
export DISPLAY=host2
[run program]
Q1: Can I include the password in this script? How?
Q2: Once I am logged on as another user, how can I get the script to
continue (do the last bit).
If I must run another script for the last part, which will be the same in
all cases, can I call it from where I am now? (if you get my drift).
Any help appreciated.
--
Regards
Neil