Re: fdisk not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 26, 2004 at 02:33:46AM +0000, David L Norris wrote:
> On Fri, 2004-03-26 at 02:01, Wayne Steenburg wrote:
> > I promise this will be the last post :)
> > It appears that exporting the path in this manner is only temporary.
> > You could modify the .bash_profile in your home directory.  There might
> > be a better way though.  I'm still kind of new at this still.
> 
> Disclaimer: it's not really a good idea to put sbin directories in the
> PATH of a normal user.  Particularly not (/usr/sbin) on Fedora or Red
> Hat systems as it could interfere with consolehelper if done
> incorrectly.
> However, the way you're doing it should be perfectly fine (/sbin last):
>   export PATH=${PATH}:/sbin
> 
> 
> You can add stuff to the system-wide profile by creating an executable
> text file in /etc/profile.d/ with the appropriate name (*.sh for bash,
> *.csh for csh).  Just make sure you don't remove the line in your
> ~/.bash_profile script which includes /etc/profile.

The fact that he has to add it to his path tells me that
he is a) not root; b) did a "su " not a "su -".

A normal user should not have to add sbin to $PATH.  Some of us
do but that is a preference not a need.


-- 
	T o m  M i t c h e l l 
	/dev/null the ultimate in secure storage.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux