CentOSコンピュータでTelnetサービスを実行できない

CentOSコンピュータでTelnetサービスを実行できない

CentOS Linux バージョン 7.2.1511 でサービスを実行しようとすると、telnet次のエラーが発生します。

service telnet restart 
Redirecting to /bin/systemctl restart 
telnet.service Failed to restart telnet.service: Unit telnet.service failed to load: No such file or directory.

マイコンピュータで実行されているTelnetサーバーのバージョン:

rpm -qa | grep telnet 
telnet-0.17-59.el7.x86_64 
telnet-server-0.17-59.el7.x86_64

マイコンピュータでTelnetサービスを正常に起動するにはどうすればよいですか?

ベストアンサー1

CentOS 6の場合:

service xinetd start
chkconfig telnet on
chkconfig xinetd on

CentOS 7の場合:

systemctl start telnet.socket
systemctl enable telnet.socket

おすすめ記事