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




版权声明: 原创作品,应许转载,转载时请务必以超链接体例标明文章 原始来由 、作者信息和本声明。否则将清查执法责任。

原文地址:https://www.cnblogs.com/zgqjymx/p/1974876.html