[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/profile should include sbin in PATH

On Sun, Dec 19, 1999 at 05:38:38PM -0500, Colin Walters wrote:
> Craig Sanders <cas@taz.net.au> writes:
> > the trouble with that "fix" is that it is likely to break local scripts
> > which call /sbin/ifconfig and others directly 
> So make /sbin a symlink to /bin.  

i guess you mean "make /sbin/ifconfig a symlink to /bin/ifconfig", and
do the same for several other binaries...what would be the point of
that? it would be better to leave things as they are than to have to
manually make all those symlinks on dozens of systems.

it would be even more annoying to upgrade several systems and then
find that various local scripts are broken because certain binaries
have moved from their accustomed place in /sbin to /bin. that kind of
surprise is highly undesirable.

adding the sbin directories to the PATH is the minimal change with no
undesirable side-effects. it is the correct fix for the problem.


craig sanders

Reply to: