default-path

Mate Wierdl mw at moni.msci.memphis.edu
Fri Mar 17 09:15:43 EST 2000


On Thu, Mar 16, 2000 at 05:03:33PM -0500, Jim Knoble wrote:
> What is your default system path?  On my Red Hat Linux 5.2 system, it's:
> 
>   [jmknoble at zax:/usr/include]
>   $ grep -A 1 _PATH_STDPATH *.h
>   paths.h:#define _PATH_STDPATH\
>   paths.h-	"/usr/bin:/bin:/usr/sbin:/sbin"
>   [jmknoble at zax:/usr/include]
>   $ 

This is Solaris, and I have

grep _PATH_STDPATH /usr/include/*.h
echo $?
1

> 
> For such a standard path, what i recommend doing is something like:
> 
> --with-default-path="\
> /space/local/bin:\
> /usr/bin:\
> /bin:\
> /space/local/sbin:\
> /usr/sbin:\
> /sbin"

So I should put the sbin directories there too?

> 
> The key is that the contents of --with-default-path *replace*
> _PATH_STDPATH, they don't add to it.
> 
> Damien, perhaps this can be made more clear in the install docs?

Perhaps a word or two how default-path is used (what programs will be
searched along the path).

Also, the question remains: why $prefix/bin is not added to
default-path?


Mate





More information about the openssh-unix-dev mailing list