Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Matt Zagrabelny <mzagrabe@d.umn.edu>
To: Tanneeru Muralidhar Babu-A19589 <muralidharbabu@motorola.com>
Cc: netfilter@vger.kernel.org, netfilter-devel@vger.kernel.org
Subject: Re: iptables execution with sudo fails
Date: Mon, 06 Oct 2008 08:19:50 -0500	[thread overview]
Message-ID: <1223299190.4745.316.camel@grateful.d.umn.edu> (raw)
In-Reply-To: <548BC174642DC44AB25D749C28840FD308C72D7F@ZMY16EXM66.ds.mot.com>

[-- Attachment #1: Type: text/plain, Size: 959 bytes --]

On Mon, 2008-10-06 at 12:56 +0800, Tanneeru Muralidhar Babu-A19589
wrote:
> Hi,
>  
> While executing iptables command using sudo on my system (running MV
> 2.6.10), I see following errors. Could someone please help me understand
> this error ?
>  
> sudo:        0 : uid 0 does not exist in the passwd file! ; TTY=unknown
> ; PWD=unknown ; USER=root ; COMMAND=/sbin/iptables
>  
> Is this a problem with passwd file ? Under what circumstances do we see
> this error ?

Do other commands work with sudo?

What is the exact syntax of the command you are trying to run?

What is the contents of /etc/sudoers?

-- 
Matt Zagrabelny - mzagrabe@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85  C5CA 53E7 887F 84E2 2DA2

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

      parent reply	other threads:[~2008-10-06 13:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-06  4:56 iptables execution with sudo fails Tanneeru Muralidhar Babu-A19589
2008-10-06 12:17 ` Jan Engelhardt
2008-10-06 13:19 ` Matt Zagrabelny [this message]

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=1223299190.4745.316.camel@grateful.d.umn.edu \
    --to=mzagrabe@d.umn.edu \
    --cc=muralidharbabu@motorola.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=netfilter@vger.kernel.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