RE: Path problem in root

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

 



Or add it to /etc/profile  ..but the line "pathmunge /sbin" should have done
that..

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Matt Wagenknecht                          CISSP  |  MCSE
Sr. Security Administrator                  
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Never be afraid to try something new.
Remember, amateurs built the ark; professionals built the Titanic.

This email may contain confidential and privileged information for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact
the sender and delete all copies of this email message.


-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx]
On Behalf Of Ben Steeves
Sent: Wednesday, June 02, 2004 12:14 PM
To: For users of Fedora Core releases
Subject: Re: Path problem in root

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@xxxxxxxxxx
 The ASCII ribbon campaign     ( )               ben.steeves@xxxxxx
   against HTML e-mail          X                GPG ID: 0xB3EBF1D9
http://www.metacon.ca/ascii    / \     Yahoo Messenger: ben_steeves



-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list



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

  Powered by Linux