LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2008, 04:34 PM   #1
CQ1ST
Member
 
Registered: Oct 2005
Location: NewZealand
Distribution: Xubuntu Trusty
Posts: 77

Rep: Reputation: 18
Thumbs down firestarter woes


hi,
i start firestarter (as user) and it' requires root priv.
i want to have f*ta start at boot (as user) and it hasn't been working at all <in fact it proclaims that there's no iptables!>
 
Old 02-11-2008, 04:52 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Since iptables controls global kernel parameters, it does indeed require root privelages. Perhpas you can explain your objective, and an alterative solution can be suggested.
--- rod.
 
Old 02-11-2008, 05:12 PM   #3
bbfuller
Member
 
Registered: Dec 2007
Location: UK
Distribution: Fedora, CentOS, Sabayon,Manjaro, OpenSuSE
Posts: 209

Rep: Reputation: 35
I've always understood Firestarter to be a graphical frontend to iptables.

iptables are a part of the kernel.

You need to start Firestarteter as Root as indeed you do most GUI configuration programs, but once you have created the rules in iptables with the Firestarter GUI it doesn't need to be run again unless you need to make changes to those rules.
 
Old 02-12-2008, 09:08 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Firestarter is a GUI tool that creates script that run iptables. iptables is a user-land program that configures the kernel netfilter module rules. You might be able to run the GUI as a regular user, except that it will try to launch iptables, which requires root privileges. Also, the GUI tries to create scripts that are installed in /etc/.., which is normally requires root write access. That is why the rules it creates are persistent, and get reloaded after booting.
--- rod.
 
Old 02-12-2008, 09:21 AM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,891

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Since firestarter is a GUI application, is it safe to assume that it has to run sometime during or after the user login?

If so, you could try a shell script that is run by the user (when the user presses enter after entering username and password).

#!/bin/bash
1) xhost +localhost # to give GUI to another user.
2) sudo firestarter # assuming the sudoers file has the necessary entry to allow user to run a sudo command.
3) xhost -localhost # to remove GUI from other users.

Last edited by bigrigdriver; 02-12-2008 at 09:22 AM.
 
Old 02-12-2008, 09:47 AM   #6
akuma_linux
Member
 
Registered: Aug 2006
Distribution: Ubuntu, CentOS
Posts: 31

Rep: Reputation: 15
hope this helps - http://www.howtoadvice.com/AutoFirestarter/

-
 
Old 02-12-2008, 02:54 PM   #7
CQ1ST
Member
 
Registered: Oct 2005
Location: NewZealand
Distribution: Xubuntu Trusty
Posts: 77

Original Poster
Rep: Reputation: 18
Thumbs up

thats like music to my ears! (the gui is only a ?configurator? and you don't need it running all the time YaY!)
now i just need to know how to shut !every! port, then open them up on a per-program that "I" use basis
I'll read that guide soon +thanx

>>my experience> i went into the options and shut everything down, but then i couldn't use any net apps, so i guessed that i'd have to use netstat and know how to 'add rules' but I didn't know how... um, now i've looked and see that iptables 'does' have some good rules in it> but it still doesn't pass the test over at shieldsup>>

Last edited by CQ1ST; 02-12-2008 at 02:58 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firestarter hansmast Linux - Security 1 02-18-2006 02:42 PM
Firestarter Woes karuptdata Linux - Software 0 09-26-2005 12:25 AM
Firestarter webwolf70 Linux - Security 2 01-29-2005 03:46 PM
Debian Sarge/Sid: Firestarter Woes General_Tso Linux - Security 15 08-12-2003 09:26 PM
Firestarter FW hath Linux - Security 3 02-05-2002 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:37 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration