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

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




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