停Solaris相关服务

发表于:2007-05-26来源:作者:点击数: 标签:

停用solaris相关服务:snmp,sendmail,wbem,etc.

1.在/etc/.net/inetd.conf文件里,注释掉相关的服务,并重启inetd服务,inetd.conf文件里有 time, echo, discard, daytime, chargen, cachefs, kerberos, gss, slvm, ocf, lpd, rquotad, rsh, rlogin, rexec, comsat, talk, finger, rstat, rusers, rwall, spray, tname, telnet, ftp, smserverd, uucp, svm等

2.重命名/etc/init.d/init.wbem 可 disable WBEM服务

3.重命名  /etc/rc2.d/S88sendmail
             /etc/rc3.d/S76snmpdx  可停sendmail和snmp服务

原文转自:http://www.ltesting.net