NFS Services Administrator's Guide
Configuring and Using the Remote Execution Facility (REX)
How REX Works
Chapter 7282
REX Example
In the following example, user tracy is logged into host sage. Her
current working directory is her home directory, /home/sage/tracy. She
issues the on command to run more on host thyme:
on -i thyme more /etc/exports
The -i option is required, because more is an interactive command.
tracy’s home environment on host sage is transferred to host thyme.
tracy’s current working directory (her home directory, in this example)
is mounted on host thyme.
Figure 7-1 REX Example
The more command from the /usr/bin directory on host thyme executes,
listing the /etc/exports file from host thyme. The output of the more
command is directed to tracy’s display on host sage.
After tracy types q to quit the more program, her current working
directory is unmounted from host thyme.
sage
home
/
sage
tracy
HOME=/home/sage/tracy
PATH=:/usr:/usr/bin
SHELL=/usr/bin/ksh
...
thyme
home
/
sage
tracy
var
spool
rexd
rexdD4253
HOME=/home/sage/tracy
PATH=:/usr:/usr/bin
SHELL=/usr/bin/ksh
...