This article is intended for users of Ubuntu linux 7.04 who want their Firestarter firewall's GUI to start automatically, upon login, without requiring any manual authentication.
Firestarter is an "easy to configure" firewall with a graphical user interface. However, in version 1.03, it's default settings are too shy to even indicate (and ensure you) that its running. Furthermore, if you want to change a firewall setting (a frequent task for some), you are burdened with multiple steps before you can even begin to make your desired changes. These undesirable steps are:
This article will show you how to eliminate most of these steps. Ultimately this article will show you how to make Firestarter's GUI start upon login; Firestarter will indicate that it is indeed running by displaying a status icon in the status tray (next to the clock) and reconfiguration will be only a point and click away.
First, we must configure your system so that it won't require root authentication when you launch Firestarter from your user login account. Open a terminal from the menu: Applications | Accessories | Terminal.
Cut the line below and paste it into your terminal (right click the terminal and select paste):
export EDITOR=gedit && sudo visudo
After entering this line, you'll be prompted for the root password. Enter the root password, then gedit should popup displaying the contents of the file located at /etc/sudoers .
Because of a bug, (discussed here) Replace this line:
Defaults !lecture,tty_tickets,!fqdn
with these four lines (the first 3 lines are intentionally commented out):
#Bug: https://bugs.launchpad.net/ubuntu/+source/firestarter/+bug/30291
# https://bugs.launchpad.net/ubuntu/+source/firestarter/+bug/47662
#Defaults !lecture,tty_tickets,!fqdn
Defaults !lecture,tty_tickets,!fqdn,env_keep+="DISPLAY HOME"
Also, add this line at the *very end* of the /etc/sudoers file:
username ALL= NOPASSWD: /usr/sbin/firestarter
Replace "username" (above) with your Ubuntu login name. Now, save your changes and exit the gedit text editor.
Next, so that the firestarter gui will start each time you login, go here:
System | Preferences | Sessions
Create a new "StartUp Program", by clicking "New" and put "Firestarter" as the name and in the "command" textbox field enter:
sudo /usr/sbin/firestarter --start-hidden
Now Firestarter will appear on your system tray each time you login. However, by default, each time you configure and close Firestarter, it will disappear from your system tray again! To prevent this undesirable default behavior do this:
If you think Firestarter should be set up this way by default, voice your preferences here:
See "Contact US" at: http://www.fs-security.com
Perhaps your feedback will improve future releases of Firestarter. Ideally, all the steps in this article will one day be abstracted to a single check box that says "Start Firestarter on System Tray at Login".