linux telnet arm,Telnet系列1:busybox telnetd的移植与配置

A daemon for the TELNET protocol, allowing you to log onto the host running the daemon. Please keep in mind that the TELNET protocol sends passwords in plain text. If you can't afford the space for an SSH daemon and you trust your network, you may say 'y' here. As a more secure alternative, you should seriously consider installing the very small Dropbear SSH daemon instead:

Note that for busybox telnetd to work you need several things:

First of all, your kernel needs:

UNIX98_PTYS=y

DEVPTS_FS=y

Next, you need a /dev/pts directory on your root filesystem:

$ ls -ld /dev/pts

drwxr-xr-x 2 root root 0 Sep 23 13:21 /dev/pts/

Next you need the pseudo terminal master multiplexer /dev/ptmx:

$ ls -la /dev/ptmx

crw-rw-rw- 1 root tty 5, 2 Sep 23 13:55 /dev/ptmx

Any /dev/ttyp[0-9]* files you may have can be removed.

Next, you need to mount the devpts filesystem on /dev/pts using:

mount -t devpts devpts /dev/pts

You need to be sure that Busybox has LOGIN and FEATURE_SUID enabled. And finally, you should make certain that Busybox has been installed setuid root:

chown root.root /bin/busybox

chmod 4755 /bin/busybox with all that done, telnetd _should_ work....

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值