LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-03-2006, 02:03 PM   #1
Mike_the_Man
Member
 
Registered: Jan 2001
Location: work
Distribution: Redhat, Mandrake
Posts: 33

Rep: Reputation: 15
Sudo and ssh X11 fowarding


We have a bunch of application administrators that use a certain Application USERID to administer their application. We are trying to push them to log in directly as their personal ID and then su over to the application ID. They need to run some GUI tools in order to administer their application and the tools need to run as the application ID. I have tried implementing this in sudo but it did not work.

Has anyone had any luck implementing X11 fowarding through sudo?

Thank you in advance for your help.
 
Old 05-03-2006, 11:04 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 114Reputation: 114
Sure.

I guess I don't see what the issue is. You ssh in with your personal ID, then sudo -u appUserID to invoke whatever you need to run. I not only do it personally, I have shell scripts that do it.

Or, they can log in this way:

ssh -Y -f appUserID@server xterm

and get logged in directly with the appuserid.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sudo and X11 programs 65_289 Linux - Software 1 05-17-2005 08:42 PM
Port fowarding through ssh without setting up the router, possible? Baix Linux - Newbie 7 02-11-2005 09:51 PM
sudo ethereal with ssh adamwenner Linux - Software 0 09-10-2004 02:21 PM
X11 fowarding Atlas337 Linux - Software 2 08-10-2002 09:04 PM
SSH port fowarding magyartoth Linux - Networking 10 05-01-2002 02:27 PM


All times are GMT -5. The time now is 05:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration