Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

RE: X11 forwarding after su'ing

From: Wilson, Richard E <richard.wilson(at)eds.com>
Date: Mon Apr 28 2003 - 16:32:38 EDT


Roy,

On my Solaris systems running both 2.6 and 8 connecting from a variety of systems running different versions of SSH, I've found the following:

If I enter "su - id" I lose the "DISPLAY" environment variable in Solaris.

If I enter "su id" I don't lose it and can create X11 displays that will correctly use the X11 forwarding. I had to change the PATH environment variable for the id from which I was doing the "su" in order to pick up everything I wanted, but it worked after that.

Hope this helps,

Richard Wilson

-----Original Message-----
From: Hoerauf, Roy [mailto:Roy.Hoerauf@cwusa.com] Sent: Monday, April 28, 2003 12:28 PM
To: secureshell@securityfocus.com
Subject: X11 forwarding after su'ing

I am having a little problem figuring this out.

Do you need help?X

I ssh to a Solaris box. X11 forwarding works, no problem here. I 'su' to a different user.

What do I have to do to get X11 forwarding to work for the 'su' user. I think it is just some configuration changes, but I have not been able to figure it out.

I am running OpenSSH 3.6.1p1 on Solaris 8, with Putty as my client.

Thanks

Roy Received on Tue Apr 29 14:05:41 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:58 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library