[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running IPTables as non-root user? (SOLVED)



Thank you all for the help!

Sudo will do it just fine! All I had to do was to use the visudo command in
order to edit the /etc/sudoers file, adding the following line:

      myuser   ALL=/sbin/iptables

With this, when, as that user, I call

      [myuser@BR_FW01 etc]$ sudo /sbin/iptables -L

I get the expected output.

I had heard of sudo before, but had no idea on what it did.
Very nice! thanks for the help!!

Regards,

Breno Moiana
-------------------------------------------------------------
"Science is organized knowledge. Wisdom is organized life."

"Ciência é conhecimento organizado. Sabedoria é vida organizada."
    -- Immanuel Kant





Reply to: