Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Allan Kissack" <lists@kissack.freeserve.co.uk>
To: netfilter@lists.netfilter.org
Subject: iptables from cgi script
Date: Mon, 2 Jun 2003 07:34:44 -0000	[thread overview]
Message-ID: <006401c328d9$701f0040$2c00a8c0@local.net> (raw)
In-Reply-To: E04CF3F88ACBD5119EFE00508BBB212109A2CCC8@exch-01.noida.hcltech.com

I used to be able to list my rules via a cgi script but since moving to
redhat 9 (iptables 1.2.7a) it fails. The reson given is "can't initialize
iptables table `filter': Permission denied (you must be root) Perhaps
iptables or your kernel needs to be upgraded." which is absolutley accurate
(because I get this logging in as a local user and running /sbin/iptables -L
too) - but I need to know how to achieve this.
I tried altering the group on /sbin and /sbin/iptables and adding my local
user to that, but still it fails.

Am I missing something really obvious?  Either way, your assistance/advice
is welcome.

Thanks

--
Allan





  reply	other threads:[~2003-06-02  7:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-02  5:41 queries Vijay Saha, Noida
2003-06-02  7:34 ` Allan Kissack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-06-02 22:33 iptables from cgi script George Vieira
2003-06-03  7:28 ` Allan Kissack
2003-06-03 13:30   ` Arnt Karlsen
2003-06-03  7:28 ` Allan Kissack
2003-06-03  6:32 George Vieira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='006401c328d9$701f0040$2c00a8c0@local.net' \
    --to=lists@kissack.freeserve.co.uk \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox