(R)eference
리눅스에서 데몬 자동 구동 또는 구동 되지 않도록 수정
아르헤미얀
2012. 8. 29. 17:29
cd etc/rc.d/init.d
chkconfig --level=2345 iptables off
- rc2.d, rc3.d, rc4.d, rc5.d에 iptables관련 스크립트가 K로 시작하게 변경됨
runlevel 2,3,4,5에서 iptables가 구동 되지 않는다.
chkconfig --level=2345 iptables on
- rc2.d, rc3.d, rc4.d, rc5.d에 iptables관련 스크립트가 S로 시작하게 변경됨
runlevel 2,3,4,5에서 iptables가 구동된다.