Path problem in root

Matthew Wagenknecht Matthew.Wagenknecht at Quantum.com
Wed Jun 2 18:31:02 UTC 2004


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 at redhat.com [mailto:fedora-list-bounces at redhat.com]
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 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



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





More information about the fedora-list mailing list