On Fri, 2006-06-16 at 19:26 +0530, Digvijoy Chatterjee wrote:
suse-10 too has shell code in /etc/profile which looks like :
if test -n "$PROFILEREAD" ; then ... code fold ... fi
add all your paths here in the newline separated entries....and they wont be appended to the $PATH again as $PROFILEREAD will be TRUE
Unfortunately, if I read that correctly, that only addresses the issue when /etc/profile is executed. While it will prevent anything _before_ that from being sorted out, anything that executes _afterwards_ (such as user files?) may still do it. In Red Hat, they recommend you always add PATHs with the pathmunge() bash function. It doesn't solve the problem if people don't use pathmunge(), but it gives them a way to add to the PATH without fear of redundant entries. -- Bryan J. Smith Professional, technical annoyance mailto:b.j.smith@ieee.org http://thebs413.blogspot.com ---------------------------------------------------------- The existence of Linux has far more to do with the breakup of AT&T's monopoly than anything Microsoft has ever done. -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com