linux修改服务自启

来源:互联网 发布:北京80越野车数据 编辑:程序博客网 时间:2024/05/20 12:49

查看服务自启情况

chkconfig --list|grep iptables

iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off

关闭自启

chkconfig --level 35 iptables off

查看服务自启情况

chkconfig --list|grep iptables

iptables        0:off   1:off   2:on    3:off   4:on    5:off   6:off

0 0
原创粉丝点击