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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章