作者
QQ群:852283276
微信:arm80x86
微信公众号:青儿创客基地
B站:主页 https://space.bilibili.com/208826118
参考
安装
j2@j2-pc:~$ sudo apt-get install telnetd xinetd
配置
编辑
sudo gedit /etc/xinetd.conf
添加
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
编辑
j2@j2-pc:~$ sudo gedit /etc/xinetd.d/telnet
添加
# default: on
# description: The telnet server serves telnet sessions; it uses
# unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
重启
j2@j2-pc:~$ sudo /etc/init.d/xinetd restart