Re: [exim] sudo - iptables trick

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Perkel
Date:  
À: exim-users
Sujet: 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?