[SLUG] $PATH
Martin Webb
martin at webb.lcbroadband.co.uk
Tue May 2 12:48:27 BST 2006
Stephen O'Neill wrote:
> Martin Webb wrote:
>> In Fedora Core 5 / KDE desktop, several programs would not at first
>> install, because /sbin was not in root's $PATH (needed stuff like
>> ldconfig, which is in /sbin). I can change and export PATH, but don't
>> know how to make that change permanent. I.e., how do you make
>> PATH=$PATH:/sbin permanent/load up on boot?
>
> Either put it in:
>
> ~/.bash_profile
>
> Or, from memory put a .sh script into:
>
> /etc/profile.d/
>
> The latter will be run for all users, the former just for the root user.
>
> Steve O
Thanks, Steve, I'll explore that after lunch.
Administering hefty kick to self - if injured tomorrow eve, this is
reason. Had gone into root console with su enstead of with su -. When
su - 'd in, the PATH is correct.
Live and learn.
Martin
More information about the Scarborough
mailing list