Re: [exim] sudo - iptables trick

Top Page
Delete this message
Reply to this message
Author: Marc Perkel
Date:  
To: exim-users
Subject: Re: [exim] sudo - iptables trick


John Hall wrote:
> Yes, but if you configure sudo appropriately you can type 'sudo
> iptables' and it will be run as root. See 'man sudo'.
>
>
> $ /sbin/iptables -L
> iptables v1.2.11: can't initialize iptables table `filter': Permission
> denied (you must be root)
> Perhaps iptables or your kernel needs to be upgraded.
> $ sudo iptables -L
>
>

If I'm mail and I run sudo it asks for the root password. What do I need
to add to get around that?