I logged on to my linux server (Redhat AS4) through ssh as the user 'guest', then run the command "echo $PATH", and the output is "/usr/local/bin:/bin:/usr/bin".
However, when I run the command "su - guest" to switch to the same user, then run the command "echo $PATH", the output becomes "/usr/bin:/bin:/usr/local/bin".
Why the same user has different PATH value on linux server? That makes me get different python version and I don't know what causes this problem:(
Any help is appreciate, thanks in advance!