Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

OS: Fedora 14 i386

It's used as a ""normal desktop laptop"".

"USER A" - it's the mainly used user, i log in with GDM with it, etc.

Goal: I need a little more security - separate a few apps!

How: run 3 applications ( Transmission, Google Chrome, Wine ) with other users ( so not with "USER A" ). But when i'm logged in ( in GUI ) with "USER A", i need icons on he's the Desktop. E.g.: just one click ( without asking for password!! ) and Google Chrome starts with another user.

How exactly can i do this? - How can i "grant" "USER A" with permissions ( securely ) so that it doesn't needs a password, when running applications with "USER B", "USER C", etc.?

Are there any howtos/docs/links?

Thank you in advance.

share|improve this question
    
Please don't cross-post. –  Dennis Williamson Feb 6 '11 at 10:25
    
Can you clarify why the sudo answer below didn't work? Are you having trouble figuring out how to use sudo? Is the question how to automate setting up sudo? –  polynomial Sep 30 '11 at 1:32

1 Answer 1

up vote 6 down vote accepted

1 Edit sudoers: # visudo

...
user1  ALL=(user2) NOPASSWD: /usr/bin/transmission, /usr/bin/chromium-browser

2 Add launch button for call "gksu -u user2 /usr/bin/transmission", "gksu -u user2 /usr/bin/chromium-browser"

share|improve this answer
    
thank you very much, but theres no gksu, or kdesu under Fedora 14:( –  LanceBaynes Feb 8 '11 at 10:56
    
Does 'gnome-sudo' exist? Just replace 'gksu' with 'gnome-sudo' if it does... –  P.T. Sep 28 '11 at 6:34
    
Or just add "sudo /usr/bin/transmission" as application to your Desktop (manually) - for chromium the same. –  Nils Sep 29 '11 at 20:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.