Path problem in root

Ben Steeves bcs at metacon.ca
Wed Jun 2 18:14:07 UTC 2004


On Wed, 2004-06-02 at 15:08, eric tanguy wrote:
> Ok but the problem is when i'm logged in root not when i do a su command
> under terminal window from a user logged.

Don't do that.  Logging in as root is typically a bad habit.

If /sbin is not in root's path, add it thus (assuming bash is your
shell): 

PATH=$PATH:/sbin

...you may need to add that to root's .bashrc file, but it should have
been set automatically.

-- 
Ben Steeves                     _                    bcs at metacon.ca
 The ASCII ribbon campaign     ( )               ben.steeves at unb.ca
   against HTML e-mail          X                GPG ID: 0xB3EBF1D9
http://www.metacon.ca/ascii    / \     Yahoo Messenger: ben_steeves






More information about the fedora-list mailing list