hey,

i was building some cross compiler enviroments under Helios 6.1, and i
noticed that root's .bashrc (which is stock on my box) has a line at the
top of the file:

echo $PATH|grep -q /sbin || export PATH=$PATH:/sbin:/usr/sbin

but a few lines down :

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin

the path is completely overwritten for root, so if someone (at least i
think it is pretty normal practice) adds /usr/local/bin or /usr/local/sbin
to to /etc/profile those changes don't take effect for root, so perhaps
the final path line should include :$PATH: ? Perhaps its already been
fixed.. but hey its 3:30am :)

regards

John I.Buswell
Development Engineer
MandrakeSoft

Reply via email to