The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 11-13-2007
porter porter is offline
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by wcmmlynn View Post
root@host [/]# echo $PATH
/usr/local/jdk/bin:/usr/local/jdk/bin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/ant/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/usr/local/bin:/usr/X11R6/bin
So your PATH has everything except "/bin" and "/usr/bin" !!!

Are you running everything as root, or do you have a standard user account for normal work?

.... and root should also have "/sbin" and "/usr/sbin" in the path.

Looks like you have alot more than you need for normal root operation, everything but the kitchen sink (and the directories you actually need).
Reply With Quote