Results 1 to 2 of 2
hi
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?
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-30-2008 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 38
iptables restart
hi
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.
- 07-03-2008 #2
Hi, shyma!
You should just be able to input that same command in the terminal, but you'll need root privileges to do so. ExecuteDone!Code:su - service iptables restart
As far as editing your sudo file, this thread may be of some help.Jay
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.


Reply With Quote
