Re: [exim] sudo - iptables trick

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Marc Perkel
Dátum:  
Címzett: exim-users
Tárgy: 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?