PHP,Perl 등 CGI 함수등에서
system() 함수를 써서 외부 명령을 실행했거든요..
system("iptables -L")
그랬더니.. 이런 에러메세지가 나왔습니다.
iptables v1.2.4: can't initialize iptables tables 'filter':
Permission denied ( you must be root )
Perhaps iptables or your kernel needs to be upgraded.
ㅠㅠ 왜 이런 문제가 발생할까요?
system("iptables -h") 이걸 쓰면..잘 나오거든요.. -h 도움말..
root 권한으로 실행을 하지 않아서인가요? 그럼 root권한으론 어케 실행하나요?--쌀