Ubuntu安放telnet进程



作者: EoHhfy     出自: http://www.linuxdiyf.com
1)sudo apt-get install telnetd openbsd-inetd

2)more /etc/inetd.conf
## netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd
telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
确保设置文件里有以上内容!

3)sudo /etc/init.d/openbsd-inetd restart

4)登录测试:
admin@ubuntu:~$ telnet 127.0.0.1
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Ubuntu 7.04
ubuntu login: admin




版权声明: 原创作品,允诺转载,转载时请务必以超链接形式标明文章 原始理由 、作者信息和本声明。不然将追究执法责任。

posted @ 2011-03-07 15:51  蓝色的天空III  阅读(101)  评论(0编辑  收藏  举报