Uncle Meat wrote:

> On 19-Sep-2000 Bret Hughes spoke something to the effect:
> > When I ssh into a box, usr/local/biin is not in the path.
> > If I su - to myself it is there.  I cannot find where in the
> > login process it gets added.  nothing in /etc/profile or
> > ~/.bash_profile that I have found.  I know I can add it via
> > sshd_config for the ssh session and probably will but it
> > bugs me that I cannot find where this get added for a normal
> > user login.
>
> Maybe ~/.bash_profile is the spot.

Not on my 6.2 box or a pinstripe test box I have going.

a little test:

I added:

env>/tmp/enterProfileEnv

to the top of /etc/profile and logging in from a VT I get this in
/tmp/enterProfileEnv:

LOGNAME=bhughes
MAIL=/var/spool/mail/bhughes
TERM=linux
HOSTTYPE=i386
PATH=/usr/local/bin:/bin:/usr/bin
HOME=/home/bhughes
SHELL=/bin/bash
OSTYPE=Linux
SHLVL=1
_=/usr/bin/env

At least this is some thing.  I now know that it is set before
/etc/profile is run. hmmm.  I guess I'll dig around a little more
when I get the time.  I hate stuff like this.  I probably don't
really need to know but it bugs me and I will probably end up
spending way too much time trying to find it.  Someone will
probably pop in a few days and say oh yaeh it's in man blahblah,
I'll say duh, and life will go on but at least I will know.

Still looking for how I found /usr/local/bin :-)

Bret




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to