However, he has no problem starting the application when he logs in as
a root, start the terminal session, and switches the user using su -
jeff. Also, the PATH is lot shorter when I use "env" command.
I will really appreciate if someone can explain why there is a
difference in PATH variable between desktop user env and switched user
env.
Thanks in advance.
-Vijay
You need to investigate the env files to see what is altering the PATH (or
path) variable. Look at /etc/csh.login and /etc/csh.cshrc, one of them probably
looks in another directory for additional env files (/etc/profile.d on RedHat).
And don't forget to check the dot files (~/.login and ~/.cshrc) for the user.
Hopefully that helps?
Kevin