Re: [exim] sudo - iptables trick

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Marc Perkel
Fecha:  
A: exim-users
Asunto: 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?