Unix administration - X11 over SSH with Sudo (was: Re: The history of the name 'Root')

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > December 2004 > X11 over SSH with Sudo (was: Re: The history of the name 'Root')





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author X11 over SSH with Sudo (was: Re: The history of the name 'Root')
Dave Hinz

2004-12-21, 5:56 pm

On 21 Dec 2004 21:53:53 GMT, jpd <read_the_sig@do.not.spam.it.invalid> wrote:
> Begin <32rf3vF3mphn9U3@individual.net>
> On 2004-12-21, Dave Hinz <DaveHinz@spamcop.net> wrote:
>
> What did you do? Add another X forwarding tunnel? ;-) Hmm, come to
> think of it, something with vnc and xvfb or so would do the trick.


Connect via SSH to the remote server, as yourself. Have it
run a script which takes a command-line argument of who you
are (or, I suppose, could just ask your tty who you are). Set up
the xauth stuff accordingly, so you can own the DISPLAY session.
Start the app set to the display, with sudo. Root will run it,
but it's displayed back to your user's X session.

Takes about 3 seconds for all of this to start up.

> Next step: launch icbms at manufacturer for requiring X to install stuff
> on a server.


That would be IBM/Tivoli. I have a list and they're not near the top of
it.

Dave Hinz



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com