View Full Version : Firestarter
Skivache
January 4th, 2008, 10:07 PM
I am trying to get Firestarter to start when I log in by following these instructions (http://www.fs-security.com/docs/faq.php#trayicon) but i can't edit sudoers. Is there any other way to get firestarter to start at logon or edit the file?
stump138
January 4th, 2008, 10:11 PM
try:
System->Preferences->Sessions->Start up programs
Skivache
January 4th, 2008, 10:13 PM
I have already added sudo firestarter --start hidden the the startup programs
PeterJS
January 4th, 2008, 10:20 PM
You need to have root privileges to edit the sudoers which defines who's allowed root privileges and for what applications. It wouldn't be very secure if you could edit the list who was allowed elevated privileges as an unprivileged user now would it?
Try using visudo to edit your sudoers file, visudo will let you edit your sudoers files with elevated privileges, and warn you if you're going break something because of bad syntax. You can forego the warnings if you want a graphical editor with:
sudo gedit /etc/sudoers
Skivache
January 4th, 2008, 10:28 PM
Great, now i can edit the file! The instructions say to add username ALL= NOPASSWD: /usr/sbin/firestarter at the end of the file. Do i replace the last line in the file with that or add that after the last line?
PeterJS
January 4th, 2008, 10:41 PM
Add it, that last line (presumeably %admin ALL=(ALL) ALL) is kind of important because it defines that people in the admin group can use root privileges for any purpose. If you remove that you'll break the relationship between sudo and the admin group, and it's kind of a pain to fix, recovery mode and all that fun stuff.
EDIT:
and might I suggest using:
%admin ALL= NOPASSWD: /usr/sbin/firestarter
instead so that all admins can run fire starter not just you're user. It'll make your life easier down the line if you ever add more admin users.
Skivache
January 4th, 2008, 10:50 PM
Ok, I added the line at the end of the file but now i can't save it because i have read-only privileges. I will log in as root and see if i can save the file then.
Dr Small
January 4th, 2008, 10:52 PM
Just remember, if you are using Gedit instead of Visudo, and have a syntax error, Gedit won't warn you and you'll be locked out of sudo!
Skivache
January 4th, 2008, 11:04 PM
Even when I am logged in as root I have read-only privileges (even when opening the file using the sudo command).
And Dr Small, can you tell me more about Visudo?
Skivache
January 4th, 2008, 11:12 PM
When logged in as root, I changed the settings to allow root to read and write.
I am rebooting now and will see how it turns out. still wondering about Visudo...
eolson
January 4th, 2008, 11:16 PM
from the terminal
man visudo
More info than you probably want.
Skivache
January 4th, 2008, 11:39 PM
I changed the sudoers file and added firestarter to the startup programs list and it still doesn't start when i log on. I may just load the program manually when i start.
Skivache
January 5th, 2008, 01:00 AM
For some reason firestarter refuses to start. I have un-done all of the changes I made but nothing seems to work. Fortunately, I tried this in VMware before I did so on my Ubuntu partition......
bodhi.zazen
January 5th, 2008, 01:14 AM
Well, to start firestarter type :
gksu firestarter In a terminal.
Unlike some operating systems, firestarter is NOT you firewall. Your firewall is iptables.
Firestarter is a gui tool that allows you to write rules for IPtables.
The guide you are following is misleading, at best. Firestarter should DOES not need to be running for you firewall to be active. You should NOT launch firestarter at log in.
You should launch firestarter, configure IPTables, then close firestarter. It is a security risk to be running firestarter constantly.
See this link : Ubuntu Security (http://ubuntuforums.org/showthread.php?t=510812)
============
visudo is a means of editing you sudoers file in a sane, safe manner
visudo edits the sudoers file in a safe fashion, analogous to vipw(8). visudo locks the sudoers file against multiple simultaneous edits, provides basic sanity checks, and checks for parse errors.
http://www.gratisoft.us/sudo/man/visudo.html
Skivache
January 5th, 2008, 03:45 PM
I knew that firestarter was just a front end GUI for the IPtables, but is running it constantly a security risk because it always runs with root privileges?
bodhi.zazen
January 6th, 2008, 12:47 AM
I knew that firestarter was just a front end GUI for the IPtables, but is running it constantly a security risk because it always runs with root privileges?
Yes, exactly
Skivache
January 6th, 2008, 01:59 AM
Well I won't be needing to running it much one I get all the rules set.
casalino.luca
January 6th, 2008, 07:34 AM
Help! I install Firestarter and click on the icon and the GUI doesn't show up at all to set up the rules. I tried to reinstall it at least twice and it doesn't work. I'm running ubuntu 7.10 and I can tell you that it doesn't work because if I run sudo iptables -L I see this kind of output:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
So I'm pretty sure that it doesn't work.
How could I fix it?
In the past I tried to start firestarter without asking the password at boot. Just to make sure that you have all the information...
Thank you for your attention...Please be kind and tell me how to slve this problem...
bodhi.zazen
January 6th, 2008, 12:03 PM
Help! I install Firestarter and click on the icon and the GUI doesn't show up at all to set up the rules. I tried to reinstall it at least twice and it doesn't work. I'm running ubuntu 7.10 and I can tell you that it doesn't work because if I run sudo iptables -L I see this kind of output:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
So I'm pretty sure that it doesn't work.
How could I fix it?
In the past I tried to start firestarter without asking the password at boot. Just to make sure that you have all the information...
Thank you for your attention...Please be kind and tell me how to slve this problem...
Firestarter must be run as root.
FYI I just installed firestarter in 7.10 and had no problem.
Try :gksu firestarter in a terminal and post any error messages.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.