
stop execution of a script if user is logged in from remote server
Hi,
How can I stop a script from executing in my .profile, if a user has
logged into my account from a remote server? The script in the .profile
should normally execute if a user logs into my account on the local
server. Do I need to check a certain environment variable or is there a
command that can be used for this? I am using ksh on AIX. Thank you for
any help.
Regards,
Michael