Re: [exim] sudo - iptables trick

Etusivu
Poista viesti
Vastaa
Lähettäjä: Marc Perkel
Päiväys:  
Vastaanottaja: exim-users
Aihe: 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?