On Thu, 27 Sep 2001, Liam Bedford wrote:
> each machine. (so the case statement would be
>> case machine1)
> rsh machine1 script1
> ;;
> case machine2)
> rsh machine2 script2
> ;;
Sorry I'd assumed it was an nfs shared home dir, so the login script was
the same for both machines. Peter could you be a bit more clear. You
want
* user logs into machine_A
* a prog to run on machine_B as his/her user
I still don't quite understand why this can't be in one of the scripts run
on login? ie a rsh from .login on machine_A? Is it too late then? Could
you just do
if machine_A
rsh serverB --execute command
rsh serverA
else.....
the reverse in servers
fi
Gavin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!