Complete.Org: Mailing Lists: Archives: linux-help: September 2002:
[linux-help] Re: Default Path
Home

[linux-help] Re: Default Path

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: linux-help@xxxxxxxxx
Subject: [linux-help] Re: Default Path
From: Sunil Punnachalil <punnachalil@xxxxxxxxx>
Date: Sun, 22 Sep 2002 15:14:22 -0700 (PDT)
Reply-to: linux-help@xxxxxxxxx



Thank for the reply.

In my system my path shows like this

/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/lib/java/bin:/usr/games/bin

I installed  latest J2SDK1.4.1 .Now I don't want
/usr/lib/java/bin (old 1.1.8 version), but I want to
change this as  /usr/local/j2sdk1.4.1/bin.  I couldn't
see this entry in /etc/profile. Any idea where I need
to change, in-order to get this path all users while
log in ? I use bash

Thanks
 

--- Steven Saner <ssaner@xxxxxxxxxxxxxxx> wrote:
> 
> If everyone is using bash, you can put a PATH
> statement in
> /etc/profile and that will be read before any user
> .profile. Look at
> the man page for which ever shell(s) that you are
> using and I'm sure
> you will find what to do. It is also possible to
> change the default
> path, even before the shell starts. I think that
> might be dependent on
> distribution somewhat. On Slackware there is a file
> /etc/login.defs. This is read by the login process
> and has a minimal path defined.
> 
> Steve
> 
> 
> On Sun, Sep 22, 2002 at 08:05:59AM -0700, Sunil
> Punnachalil wrote:
> > 
> > Hi,
> > 
> > How do I change/add/delete default path of  all
> users
> > in a Linux system. Actually I want to include my
> > Tomcat path  to all users, instead of setting
> > individually in  $PATH in profile. I am using SuSE
> 7.3
> > 
> > 
> > 
> > Thanks
> > Sunil.
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Finance - Get real-time stock quotes
> > http://finance.yahoo.com
> > -- This is the linux-help@xxxxxxxxx list.  To
> unsubscribe,
> > visit
> http://www.complete.org/cgi-bin/listargate-aclug.cgi
> 
> -- 
>
--------------------------------------------------------------------------
> Steven Saner <ssaner@xxxxxxxxxxxxxxx>
> -- This is the linux-help@xxxxxxxxx list.  To
> unsubscribe,
> visit
> http://www.complete.org/cgi-bin/listargate-aclug.cgi
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
-- This is the linux-help@xxxxxxxxx list.  To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi


[Prev in Thread] Current Thread [Next in Thread]