Summary: PATH assignment for telnet and ssh sessions

From: Andreas Höschler <ahoesch_at_smartsoft.de>
Date: Thu Jan 19 2006 - 15:45:07 EST
Dear managers,

thanks to

Ric Anderson <ric@Opus1.COM>
pedroangel.garciabenavente@telefonica.es
Brad_Morrison@capgroup.com
Crist Clark <crist.clark@globalstar.com>

for many interesting hints I lerned a lot from. Finally the solution 
was very simple. I ha a .profile in my home dir (overlooked a few 
times), that was clobbering my PATH. After deleting this file 
everything was fine.

Thanks a lot!

Regards,

   Andreas

> I have /etc/default/login with
>
> PATH=/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/apache/bin:/
> usr/local/ssl/bin:/usr/ccs/bin:/opt/FrontBase/bin:/usr/local/teTeX/
> bin:/usr/sfw/bin:/opt/sfw/bin
>
> and /etc/profile with
>
> export LOGNAME PATH
>
> When I telnet to the machine I would expect "echo $PATH" to give me
> what I configured in /etc/default/login. However, I get
>
> /usr/bin:/usr/ucb:/etc:.:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/
> sbin:/usr/ccs/bin:/opt/FrontBase/bin
>
> I am puzzled. How exactly does the assignment of PATH for telnet and
> ssh sessions work? I never fully got behind that?
>
> Thanks a lot!
>
> Regards,
>
>    Andreas
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Jan 19 15:46:30 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:54 EST