How to export ENV variables, which remains set for all the shell

Hi !

How to export ENV variables, which remains set for all the shell

Example :-
Login :myID
Pwd : **** -> Here my ID .profile is executed. Let say I set MYENV variable
Kisses% rlogin ABC -l XXXGroupID -> I login into a remote Solaris Server ABC
password : **** -> "XXXGroupID's .profile is executed " .
ABC% echo $MYENV
ABC%

Why the variable MYENV is not set.

This might be silly question, But still somebody please take time to help me.

When you login on the remote server using rlogin, you are actually loggin in with another username and then the env file on that server is getting executed there. What exactly is your question?

cheers,
Devaraj Takhellambam