Re: PATH question...


Subject: Re: PATH question...
From: Kelsey Damas (anagram@prtr-13.ucsc.edu)
Date: Thu Aug 17 2000 - 12:53:31 MDT


From the keys of Israel Alvarez:
> Hope I'm not annoying the regulars on here...

<shrug>...I'm not a regular, but questions are what this list is about, yes?

> 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. Obviously,
> this causes probs for the atalk startup as well. I can access everything in
> bin no prob, but am wondering what's going on. Are /sbin tools only
> available for a local root? If so, how can I change this so that my inits
> have access to them?

Assuming bash is your shell:

in ~/.bashrc make sure you have this

export PATH=$PATH:/sbin

This will add /sbin to your pre-existing $PATH

HTH

-- 
.....................................k.e.l.s.e.y...d.a.m.a.s......
--------------------------------------anagram@cats.ucsc.edu-------
-http://www.porter.ucsc.edu/~anagram/    ---------------
.......... recently updated .......................................



This archive was generated by hypermail 2a24 : Thu Aug 17 2000 - 12:52:54 MDT