6
3
I've noticed that the root account $PATH does not include /usr/local/bin
or /usr/local/sbin
by default. Are there any potential issues that could arise from adding those directories to the path? If so, what is the best way to make sure your shell finds executables in those directories, without affecting the stability and security of the system?
1Very comprehensive answer. I neglected to consider the user/group permissions on the
/usr/local
tree. I rather err on the side of having only executables in the root $PATH that root alone could have put there/changed. – jmlane – 2011-03-03T16:04:45.103