Re: PATH question...


Subject: Re: PATH question...
From: Hollis R Blanchard (hollis+@andrew.cmu.edu)
Date: Thu Aug 17 2000 - 13:38:46 MDT


On Thu, 17 Aug 2000, Israel Alvarez wrote:
>
> Came across a strange problem when trying to run insmod - even after su-ing
> to root, I can't run insmod unless I'm in sbin and type ./insmod.

Running 'su' does not run your login scripts (which set your path - you should
not be appending to PATH in .bashrc). Running 'su -' will make the shell a
login shell, which will set your patch etc appropriately.

-Hollis



This archive was generated by hypermail 2a24 : Thu Aug 17 2000 - 13:41:42 MDT