Re: PATH on root login

2003-12-29 Thread Bijan Soleymani
On Tue, Dec 30, 2003 at 04:01:30AM +1100, George Ogata wrote: > Why does the mere existence of a `.bash_profile' affect the default > value of PATH? This is from bash (1) in the section INVOCATION: "When bash is invoked as an interactive login shell, or as a non-inter- active she

PATH on root login

2003-12-29 Thread George Ogata
Hello, when I log in at the console as root, how is my PATH determined? If I have no `.bash_profile' file, I get: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin/:/sbin:/bin:/usr/bin/X11 ... but if I have even an empty `.bash_profile', it is: /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/ga