LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2006, 10:37 PM   #1
RavenOfOdin
Member
 
Registered: Feb 2006
Location: Arkansas, C.S.A
Distribution: Ubuntu 6.06 LTS, PC / Debian Etch 2.6.16.17 PPC
Posts: 60

Rep: Reputation: 15
Is it safe to install iptables in /usr/local ?


Just as a question, and since 1) the recent kernel upgrade broke Firestarter's iptables recognition 2) my old iptables package was deleted in order to install a more recent one.
 
Old 05-24-2006, 03:29 AM   #2
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
For security reasons iptables should be stored in /usr/sbin/iptables so only root has access to it. Next time back up what ever it is your upgrading. However, you can install it there, buy you're lowering the security standards on your box because it's in the users path now.
 
Old 05-24-2006, 03:41 PM   #3
RavenOfOdin
Member
 
Registered: Feb 2006
Location: Arkansas, C.S.A
Distribution: Ubuntu 6.06 LTS, PC / Debian Etch 2.6.16.17 PPC
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Linux~Powered
For security reasons iptables should be stored in /usr/sbin/iptables so only root has access to it. Next time back up what ever it is your upgrading. However, you can install it there, buy you're lowering the security standards on your box because it's in the users path now.
I thought as much. I've taken everything that looks to be related to iptables out of the /usr/local directories (almost took out the pcap files too until I realized they're being used for Snort - !!). I'll reinstall the main binaries in /usr/sbin (PREFIX=/usr/) and recheck its functionality, but the important thing is that Firestarter doesn't croak as it looks for iptables in a different location.

I've tried to remove iptables applications from the main /sbin directory (in /) to make way for the new version, but whenever I try to do so, even as root, I get the message "Permission denied."

If I can indeed install the new version in the root directory, let me know.

I'm not all that concerned about the security standards on the comp that's undergoing the upgrades since its offline at the moment and will stay that way until these are fixed.

Last edited by RavenOfOdin; 05-24-2006 at 04:26 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
Where to install software /opt? or /usr/local? sfwalter Linux - General 4 08-24-2013 12:22 AM
Can I install to /usr/local as a normal user? Jongi SUSE / openSUSE 8 12-21-2005 12:45 AM
Cant install unsatisfied /usr/local/bin/python/ Fredstar Linux - Newbie 1 02-02-2005 02:12 AM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 10:21 AM
install everything under /usr/local? doublefailure Linux - General 15 07-10-2002 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:35 AM.

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
Open Source Consulting | Domain Registration