全球主机交流论坛

标题: service iptables stop求助 [打印本页]

作者: gdtv    时间: 2010-1-24 16:50
标题: service iptables stop求助
要给服务器设置iptables,怕弄错了进不去,于是在crontab里设置:
*/2 * * * *  service iptables stop

但crontab老是报错 /bin/sh: service: command not found
怎么回事?
作者: gdtv    时间: 2010-1-24 17:12
解决了,应该是 /sbin/service iptables stop
作者: cnx    时间: 2010-1-24 17:13
自问自答。
作者: cpuer    时间: 2010-1-24 17:42
/bin/sh  




欢迎光临 全球主机交流论坛 (https://fd.vvwvv.eu.org/) Powered by Discuz! X3.4