Re: /usr/bin before /usr/local/bin?
I have /root/ symlinked to /home/krzys, so my .bashrc et al get
sourced by root as well. Should I be worried? I understand the
privileged status of root, however, given that 90% of my time on this
machine is spent tweaking it (and not writing my thesis), I become
root about a hundred million times a day. There is sudo, but my
/etc/sudoers is getting pretty long and some things like 'make
install' can't really be done with it (I don't want 'make' in my
/etc/sudoers). All this means that it's nice for root to have an
environment similar to my own, but I'm willing to weigh compelling
arguments against that,
-chris
On Tue, 31 Oct 2000, Damian Menscher wrote:
> On Tue, 31 Oct 2000, Krzys Majewski wrote:
>
> > Any opinions on which should go first in the path:
> > /usr/bin or /usr/local/bin?
>
> For a user or for root?
>
> For a user, definitely put /usr/local/bin first. That way they can get
> all of your local customizations for that machine.
>
> For root, you want to have as little on your path as possible (to avoid
> trojans, etc). It is questionable whether /usr/local/bin should be
> there at all. Another argument is you don't want to have path problems
> in the event /usr/local fails to mount properly and you are forced to
> fix the problem as root.
>
> Damian Menscher
> --
> --==## Grad. student & Sys. Admin. @ U. Illinois at Urbana-Champaign ##==--
> --==## <menscher@uiuc.edu> www.uiuc.edu/~menscher/ Ofc:(217)333-0038 ##==--
> --==## Physics Dept, 1110 W Green, Urbana IL 61801 Fax:(217)333-9819 ##==--
>
Reply to: