Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    iptables restart

    i want to execute this command throgh php
    service iptables restart
    can you give me steps to do this?
    i means that steps to edit sudo.what i should type?
    please help me because i try any solution that i find in this forum but i faild.

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Hi, shyma!

    You should just be able to input that same command in the terminal, but you'll need root privileges to do so. Execute
    su -
    service iptables restart

    As far as editing your sudo file, this thread may be of some help.

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts