Hi [EMAIL PROTECTED] wrote: > That was the problem. Thanks for your patience. > > So now I have two questions: > > 1 - Is there a good tutorial or reference where I should have looked for this? > I spent alot of time looking before I posted the question, but didn't find the > answer. In the **good old days** of DOS I would have found the solution with > very little effort. :-) In 'man bash'. Even less effort. I know it's a long man page, but it's worth skimming (if not reading). That specific thing is in the INVOCATION section, around 2% into the file (did you know you can type 2% to less and it jumps there?). > > 2 - Can you see any reason to put a PATH command in /root/.bashrc where it > overwrites the default in etc/profile? I suppose I could have added the > directory I wanted there, but instead I deleted the PATH command so the default > path from /etc/profile would take effect. It seems to me that the whole point > of having config files in /etc is to keep them all in one convenient location. > Only special changes should be done elsewhere. It somehow seems more secure. Although the login sequence of root should involve no other users' files, it still seems better to make sure no one put his own (full of trojans) dir in the path. Actually, more then that: if you do su (from another user, without "-"), you get the other user's path. > > > On 23-Nov-2000 Sagi Bashari wrote: > > Check your ~/.*bash* files. maybe one of them reset PATH. > > (~/.bashrc, ~/.bash_profile). > > > > On Thu, 23 Nov 2000 [EMAIL PROTECTED] wrote: > > > >> I already tried that and it didn't work either. I get the same **symptom**. > >> The > >> echo command in /etc/profile or /etc/bashrc seem to show that the directory > >> has > >> been added to the path, but **echo $PATH** at the prompt shows the path has > >> not > >> changed. > >> > >> On 23-Nov-2000 Sagi Bashari wrote: > >> > > >> > Are you using bash at all? > >> > > >> > try adding that line to /etc/bashrc too. > >> > > >> > > >> > >> //------------------------- > >> Shlomo Solomon > >> E-Mail: [EMAIL PROTECTED] > >> http://come.to/shlomo.solomon > >> Date: 23-Nov-2000 Time: 20:20:29 > >> > >> Message sent by XFMail on a LINUX Mandrake 7.2 machine > >> //------------------------- > >> > >> ================================================================= > >> To unsubscribe, send mail to [EMAIL PROTECTED] with > >> the word "unsubscribe" in the message body, e.g., run the command > >> echo unsubscribe | mail [EMAIL PROTECTED] > >> > >> > > > > _ > > ___ __ _ __ _(_) Sagi Bashari > > (_-</ _` / _` | | - [EMAIL PROTECTED] > > /__/\__,_\__, |_| > > |___/ > > > > > > ================================================================= > > To unsubscribe, send mail to [EMAIL PROTECTED] with > > the word "unsubscribe" in the message body, e.g., run the command > > echo unsubscribe | mail [EMAIL PROTECTED] > > //------------------------- > Shlomo Solomon > E-Mail: [EMAIL PROTECTED] > http://come.to/shlomo.solomon > Date: 23-Nov-2000 Time: 21:13:35 > > Message sent by XFMail on a LINUX Mandrake 7.2 machine > //------------------------- > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > didi ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]