noob PATH question

From: Bill Waddington (william.waddington_at_beezmo.com)
Date: 06/30/05


Date: Wed, 29 Jun 2005 16:08:19 -0700

I'm an old guy with a really embarassing newbie question:

Per advice on blastwave.org I am trying to set PATH globally
by providing PATH and SUPATH in /etc/default/login and
/etc/default/su.

What I find is that these seem to apply to root logins and
user su, but _not_ to a user login. Im running SNV_16 and JDS,
bash for root and users.

Is there really one (or two) place(s) to set PATH, or does it
move depending on user and shell? In the past I have always
just fiddled PATH on the fly. I know I can diddle /etc/profile
and my .profile, but I would like to find a single location and
be done with it.

TIA
Bill

-- 
William D Waddington
william.waddington@beezmo.com
"Even bugs...are unexpected signposts on
the long road of creativity..." - Ken Burtch


Relevant Pages

  • Re: noob PATH question
    ... > What I find is that these seem to apply to root logins and ... > Is there really one placeto set PATH, ... the login process sets the PATH. ... it executes the shell. ...
    (comp.unix.solaris)
  • Re: noob PATH question
    ... >What I find is that these seem to apply to root logins and ... >bash for root and users. ... >Is there really one placeto set PATH, ...
    (comp.unix.solaris)
  • Re: roots PATH variable
    ... >> If root has no .profile, where does it get its PATH environment from? ... > set PATH and SUPATH. ... grep PATH /etc/profile ...
    (comp.unix.solaris)
  • Set Path
    ... Can anyone help me how i can use set path in Sun Solaris, ... oracle installed on my PC and but when i am typing sqlplus its now ... Please advice. ...
    (comp.unix.misc)