On Thu, 2005-10-20 at 19:02 -0700, Michael A. Peters wrote:
On Fri, 2005-10-21 at 03:36 +0200, Bernardo Innocenti wrote:
> Michael A. Peters wrote:
>
> >> * Actually I'm not even sure regular $PATH includes /usr/local/bin,
but
> >> maybe that was some other distro ...
> >
> > /usr/local/bin is in my path - if a distro does not include it, it is
> > imho a bug.
>
> It's there, but it comes after /bin and /usr/bin, making it
> useless for people who install replacement versions of vendor
> packages.
It should come after /bin and /usr/bin - system installed administration
scripts may expect behavior specific to the version installed with the
system.
A user can re-arrange the path if they need to - or create an alias if
they need to (probably better).
Actually, isn't the default regular user PATH variable hard coded in
to /bin/bash? And, I believe it is set to
"/usr/local/bin:/bin:/usr/bin", at least on FC4, it is. Then the
scripts modify/replace that.....
--Rob