I'm new to Linux. I've just installed the STAF, and I can run STAF with my account, but when I try to run use root account, I get:
sudo: STAF: command not found
Here is some of my machine information:
which sudo
/usr/bin/sudo
echo $PATH
/usr/local/staf/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/eric/eclipse
What is the explanation? Why can't sudo
find the command?
Best Answer
Your answer is on this (duplicate) question,
http://stackoverflow.com/questions/257616/sudo-changes-path-why