centos7开启telnet登陆

centos7安装telnet,开启telnet登陆:

(1)安装命令: 
# yum install telnet-server
# yum install xinetd
(2)安装完成后,将xinetd服务加入开机自启动:
# systemctl enable xinetd.service 
(3)将telnet服务加入开机自启动: 
# systemctl enable telnet.socket 
(4)最后,启动以上两个服务即可:
# systemctl start telnet.socket
# systemctl start xinetd(或service xinetd start)
(5)检查服务是否开启:
systemctl status telnet.scoket
systemctl status xinetd
(6)开启ROOT在telnet登陆:
mv /etc/securetty /etc/securetty.bak

你可能感兴趣的:(Linux)