[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#573325: openssh-client: ssh-agent strips LD_LIBRARY_PATH from user profile in X sessions



severity 573325 wishlist
tag 573325 moreinfo
kthxbye

> Julien Bigot <julien.bigot@ifrance.com> (10/03/2010):
> > ssh-agent as launched by /etc/X11/Xsession.d/90x11-common_ssh-agent
> > is the parent of every user process in an X session however,
> > ssh-agent is suid root and thus removes LD_LIBRARY_PATH from its
> > environment as a result, setting LD_LIBRARY_PATH in your
> > environement does not work for X sessions
> > 
> > The second approach where ssh-agent generate shell commands should
> > be used instead.  With this approach it is not the father of other
> > processes anymore.
> 
I'm not sure that's a good plan.  The way it's currently started, the
ssh-agent process dies together with the session, that would probably
not happen if we start it as suggested.

Cheers,
Julien



Reply to: