[lug] Errrr, or PATH variables....
hugh at math.byu.edu
Fri Aug 11 12:58:33 MDT 2000
If you put it in /etc/skel/<appropriate file> then when you create a
new user, the new user will have those files copied to their new home
directory. If you want these things available to everyone on the system
then put it in /etc/profile.
My path is set in .bash_profile which also sources my .bashrc. It
doesn't really matter where you put it so long as it is one of the files
that is always run when you log in (either remotely or locally). Sorry
I don't know which gets run with which session type.
John Starkey wrote:
> Great, thanks. I think I need to add the below files to /etc/skel?? They
> didn't come with the adduser. I did look at ~/.bashrc and didn't see
> anything relative so I got scared and didn't put it there.
> BUT, that explains why I never solved this problem. I know i didn't edit
> any files to accomplish this.
> On Fri, 11 Aug 2000, Hugh Brown wrote:
> > If you want it to stick just for you, you need to stick it either in
> > ~/.bashrc or in ~/.bash_profile or ~/.profile
> > I don't remember which one.
> > If you are doing the below at the prompt it is only good for that
> > session.
> > Hugh
> > John Starkey wrote:
> > > PATH=/bin,~/bin,/whateverelse
> > > EXPORT PATH
> > >
> > > (in BASH)
> > >
> > > Why won't it hold when I exit? I don't want to manipulate /etc/profile.
> > > I'm trying to set $ORACLE_HOME. I go thru this PATH problem every fewe
> > > months and I can't remember if I fix ever got it to work. I only have a
> > > couple users so it's not a common thing.
More information about the LUG