[haiku-bugs] Re: [Haiku] #2468: User logged in via ssh seems to have incorrect paths

  • From: "augiedoggie" <trac@xxxxxxxxxxxx>
  • Date: Sat, 17 Apr 2010 06:00:28 -0000

#2468: User logged in via ssh seems to have incorrect paths
---------------------------------------------+------------------------------
 Reporter:  anevilyak                        |       Owner:  scottmc      
     Type:  bug                              |      Status:  in-progress  
 Priority:  normal                           |   Milestone:  R1           
Component:  Applications/Command Line Tools  |     Version:  R1/pre-alpha1
 Keywords:                                   |   Blockedby:               
 Platform:  All                              |    Blocking:               
---------------------------------------------+------------------------------

Comment(by augiedoggie):

 The problem is more than just the PATH variable.  It is because Haiku uses
 SetupEnvironment and UserSetupEnvironment scripts to set up a large number
 of variables.  IMO the solution would be to make a change near the top of
 /etc/profile with an addition such as:

 {{{
 [[ -z ${BE_C_COMPILER} ]] && source /boot/system/boot/SetupEnvironment
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/2468#comment:11>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: