1、内核配置
Device Drivers --->
Character devices
[*] Unix98 PTY support
[*] Legacy (BSD) PTY support
(256) Maximum number of
2、busybox
# BusyBox -> Networking Utilities -> telnetd
# BusyBox -> Networking Utilities -> Support standalone telnetd (not inetd only)
# BusyBox->Login/Password Management Utilities --->Login去掉
3、文件系统修改
mkdir /dev/pts
mknod ptmx c 5 2
修改/etc/fstab 增加
devpts /dev/pts devpts defaults 0 0
增加/etc/group
root::0:root
增加/etc/passwd
root::0:0:root:/:/bin/sh
4、运行 telnetd启动telnet服务