111 reputation
5
bio website
location
age
visits member for 1 year, 9 months
seen Feb 27 at 12:07

Jul
3
awarded  Popular Question
Feb
27
awarded  Supporter
Oct
27
awarded  Scholar
Oct
27
accepted /etc/profile.d and “ssh -t”
Oct
27
answered /etc/profile.d and “ssh -t”
Oct
25
comment /etc/profile.d and “ssh -t”
As I said, the files in /etc/profile.d has no such conditions. I also checked /etc/profile, again not containing such conditions. It is possible that it is a platform specific problem on this system, but I can't find the cause.
Oct
24
comment /etc/profile.d and “ssh -t”
This still does not explain the difference between calling ssh with and without -t. I also checked the appropriate profile.d file and /etc/profile. In profile.d there are no special checks for setting $PATH. In /etc/profile the only check is that $PROFILEREAD is empty, wich is set at the end of that script. I checked, this variable is set when I run ssh without -t, but not if I run it with -t.
Oct
24
awarded  Editor
Oct
24
revised /etc/profile.d and “ssh -t”
Added more information.
Oct
24
awarded  Student
Oct
24
asked /etc/profile.d and “ssh -t”