LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   How to launch an application as root? (http://www.linuxquestions.org/questions/ubuntu-63/how-to-launch-an-application-as-root-861096/)

lucmove 02-06-2011 09:54 PM

How to launch an application as root?
 
I use Firestarter, seems to be a good firewall. But it is a desktop/GUI application, and it requires root access, or rather sudo in Ubuntu. Every time I launch it, I am required to type in my user (not root) password. How can I make it run automatically at startup (KDE) without prompting for a password?

Sjonnie48 02-07-2011 01:04 AM

You can manage your services at Systems Settings/Advanced/Service Manager

lucmove 02-08-2011 01:48 PM

That is not working. I run KDE 3.5 (Trinity) and although the Systems Settings/Advanced/Service Manager thing displays a list of my current services, it provides no way for me to add new ones.

I googled and found a tip about using a program called sysv-rc-conf. It's CLI, but it builds a kind of a curses table and let me add Firestarter. But I rebooted and Firestarter did not run.

I found a new path: Control Center > System Administration > System Services. I can add services there. Well, hopefully I can. Firestarter was there already, it just wasn't set to run at startup. I toggled it, but haven't rebooted yet. There is a "Start Service" button, I used it, but then a pop-up dialog tells me the command failed. No explanation is given.

Any other ideas? Anyone?

repo 02-08-2011 01:52 PM

Take a look at
http://www.fs-security.com/docs/faq.php

Kind regards

lucmove 02-09-2011 07:44 PM

Quote:

Originally Posted by repo (Post 4252257)

OK. That fixes it. Thank you.


All times are GMT -5. The time now is 03:40 PM.