In <p0521030dba661110f16b@[165.227.249.18]>, Paul Hoffman <[EMAIL PROTECTED]> typed:
> Is it safe to change the default path to:
> 
> 
>PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/X11R6/bin:/home/you/bin

That depends on who you let write on /usr/local. If it's the same set
of people as those who can write in /usr or /, then there's no change
in security. If you haev /usr/local/bin as a place where local users
can dump things they want to share, then it's a bad idea.

> Is there a generic way to make things in /usr/local/bin take 
> precedence over things in /usr/bin? 

You set your PATH so that /usr/local/bin precedes /usr/bin.

        <mike
-- 
Mike Meyer <[EMAIL PROTECTED]>              http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to