solaris系统telnet ftp开启关闭方法
超级用户下更改 /etc/inetd.conf 将如下两行注释(#)更改前
ftp streamtcp6 nowaitroot /usr/sbin/in.ftpd in.ftpd
telnetstreamtcp6 nowaitroot /usr/sbin/in.telnetd in.telnetd
更改后
##ftp streamtcp6 nowaitroot /usr/sbin/in.ftpd in.ftpd
##telnetstreamtcp6 nowaitroot /usr/sbin/in.telnetd in.telnetd
将inetd进程kill
#ps -ef|grep inetd
root 19042 10 18:18:43 ? 0:00 /usr/sbin/inetd -s
zc 21567 284230 18:31:45 pts/4 0:00 grep inetd
#kill -9 19042
启动inetd
#/usr/sbin/inetd -s
#
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/41427/showart_1859487.html
页:
[1]