yum -y install telnet-server telnet
vim /etc/xinted.d/telnet
disable = no
vim /etc/pam.d/remote
#auth required pam_securetty.so
将‘pts/1’添加到/etc/securetty中,即可实现telnet的root用户登录
时间: 2024-10-01 04:48:55
yum -y install telnet-server telnet
vim /etc/xinted.d/telnet
disable = no
vim /etc/pam.d/remote
#auth required pam_securetty.so
将‘pts/1’添加到/etc/securetty中,即可实现telnet的root用户登录