Script Tips: X11 Forwarding With SSH After Switching Users
From the title, you must be thinking WTF? Believe me, it’s not all that uncommon once you understand the scenario…
The Problem Read the rest of this entry »
You have a secure server. You need run an X-terminal from the command line console as a user other than yourself. You only have ’sudo su’ permission to the other user but not the actual user login credentials. One common scenario where you’ll hit this problem is if you’re trying to deploy a piece of software as root via X-Terminal and you have to su over. I know I’ve hit this often enough. So what do we do?
