安装以下两个包

#apt-get install xinetd

#apt-get install telnetd

默认是允许root用户Telnet的,需要更改如下文件

#vi /etc/pam.d/login

找到第17行注释掉就可以用root用户登录。