Is there a way I can see the environment variable of an other user? I want to do that as root, so permissions won't be a problem I guess.
For the user himself, I use
echo $PATH or
set | grep PATH (or
set when I don't remember the variable name). What would be a similar instruction for an other user?
For what it's worth, I'm on Ubuntu Server 13.04.