[image: Istantanea_2024-05-13_17-37-39.png] Can someone explain to me why user "marietto" can't execute the command iptables as root,without password ? thanks.
[image: Istantanea_2024-05-13_17-40-21.png] On Mon, May 13, 2024 at 5:19 PM Mario Marietto <[email protected]> wrote: > There is still a problem. If I login automatically as user and inside the > script I do this : > > sudo iptables -A POSTROUTING -t nat -s 192.168.1.5 -j MASQUERADE > > it asks me for the password (don't know why it didn't before) but I can't > issue a password,because the script inside the vm should work automatically > and should be hidden between the FreeBSD processes. > > On Mon, May 13, 2024 at 4:11 PM Stefan Monnier <[email protected]> > wrote: > >> > You don't need to, but I definitely think he does. 🙂 >> ^^ >> >> [ Oh, bias, when will you leave me alone? ] >> >> >> Stefan >> >> > > -- > Mario. > -- Mario.

