Sounds a bit unlikely but I guess it could happen. Each user has various environment variables including PATH. If you invoke a command like 'make' it will only work if the directory containing the command is within the user's path.
Do the command 'which make' to find the full path to where it is (e.g. /usr/bin/make). Using this info, do the command 'env' to display the environment varaibles including PATH to see if the relevant directory is included. If not you could edit /root/.bash_profile to add it.
This shouldn't be an issue anyway if you just logon as a regular user and use 'su' to change temporarily to root. If you do it that way (versus 'su-') your existing environment variables remain, i.e. it would still be in your path.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.