On Mon, 2 Sep 2002 18:39:11 -0400 Edward Guldemond <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 02, 2002 at 02:57:53PM -0700, Jianbo Wang wrote: > > > I installed woody on my pc. I have 2 questions: > > 1. PATH: I tried to add some directories to PATH, and I change > > /etc/profile and login.def, but $PATH doesn't change. > > ( I add $PATH="$PATH:/new_dir" in /etc/profile and login.def) > > Put 'export' before the $PATH part. For example: > export $PATH="$PATH:/new_dir" The above won't work. You don't want the $ on the name of the variable you are exporting. So, the line would look more like this: export PATH="$PATH:/new_dir" However, /etc/profile already does the PATH exporting. When you added the entry, did you ensure that the addition was before the line reading: export PATH > > 2. How to add shutdown and reboot to logout menu? This depends entirely on which login manager you are using. -- Jamin W. Collins -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]