Environment variables in 'rsh'

HI,
From a Windows XP machine I am doing an 'rsh' to a AIX system,I have updated .rhosts of AIX system with the remote system name and I could able to do a remote shell,but when i do the 'rsh' i am not getting the environment variables which is already set for the user in th AIX system in my rsh session.

how can i get it?

Regards,
Sam

rsh does not execute your .profile make sure you invoke from the $HOME . ./.profile

http://www.unix.com/showthread.php?t=17721&goto=nextnewest

Hi,
I got the answer.......if you set those environment variables in your /etc/environment,then you will get it.

Regards,
Sam