- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: su from root to user on remote server with wor...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2007 07:12 PM
09-12-2007 07:12 PM
I need to test some of my users graphical applications/environment running as them on their Linux boxes from time to time. The problem is that I don't know the users password. The way I would like to solve this is to login as root, (that password I know), on their Linux box using "ssh -X root@linux_server" then "su - user_name" but by doing that, I loose the DISPLAY variable. If I try to export the same variable that is set for the ssh as root session, ssh won't allow the traffic.
Any good idéas?
Thanks in advance, /Joakim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2007 08:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2007 09:16 PM
09-12-2007 09:16 PM
Re: su from root to user on remote server with working display.
thank you for replying. This seems to be a good solution. I tried to "man ssh" to find more info but didn't succeeded. Could you please point out the direction for more knowledge?
Thank you, /Jocke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2007 11:14 PM
09-12-2007 11:14 PM
Re: su from root to user on remote server with working display.
http://blog.taragana.com/index.php/archive/linux-how-to-how-to-ssh-without-password-authentication/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 12:45 AM
09-13-2007 12:45 AM
Re: su from root to user on remote server with working display.
Thank you for help. We have a NIS environment which makes it a little more complicated but I've gone through the "trial and error" state now and think I know how to solve the matter.
Thanks again, points to be awarded.
/Joakim