20 Oct
2004
20 Oct
'04
12:31
On Wednesday 20 October 2004 13:40, Bahram Alinezhad wrote:
When I login to a user other than root, and use "su root" or open a root shell in order to run some commands located in /usr/local/bin, I get the error of "command not found"! I have to type the full path! A problem that there is somehow in redhat but not so bad as this.
The reasons are not clear to me, but /usr/local/bin is not included in root's path if you do su. Do su - instead, and /usr/loca/bin will be in root's path. -- Kind regards Hans du Plooy Newington Consulting Services hansdp at newingtoncs dot co dot za