PATH=/usr/local/bin:/bin:/usr/bin considered harmful

Roman Rakus rrakus at redhat.com
Sat Jun 23 12:52:49 UTC 2012


On 06/22/2012 05:15 AM, Sam Varshavchik wrote:
> [root at octopus ~]# strings /bin/bash | grep usr.bin
> /usr/local/bin:/bin:/usr/bin
>
> I think that bash needs to be recompiled, with the last two flipped, 
> in the default shell PATH. 
The path above is used by bash only if PATH env variable is not set.

RR


More information about the devel mailing list