[SLUG] $PATH

David Webster dave at dave-webster.com
Wed May 3 11:31:25 BST 2006


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?
> Martin
>
In your .bashrc (or .bash_profile -- depends what you prefer), add the line:

export PATH=$PATH:/sbin


There is a way to add this at a system level by editing /etc/profile and 
adding a similar line.

Dave




More information about the Scarborough mailing list