Hello all.
What would be a nice script for exporting the DISPLAY from the originating user´s machine after he telnets to a box?
I already got one working on AIX, but on HP-UX the ´who´ produces an output withou an IP address that I could export.
Any hints?
Thanks!
Jeffo.
Sample AIX Script:
export DISPLAY=`who am i|cut -d "(" -f 2|tr -d "
"|tr -d " "`:0.0
echo $ECHO_ARG "\nDISPLAY=$DISPLAY\n\n"
What would be a nice script for exporting the DISPLAY from the originating user´s machine after he telnets to a box?
I already got one working on AIX, but on HP-UX the ´who´ produces an output withou an IP address that I could export.
Any hints?
Thanks!
Jeffo.
Sample AIX Script:
export DISPLAY=`who am i|cut -d "(" -f 2|tr -d "
echo $ECHO_ARG "\nDISPLAY=$DISPLAY\n\n"