Ask Your Question

how to start telnet service on fedora17

asked 2013-07-30 04:53:33 -0500

mkl34367803 gravatar image

how to start telnet service on fedora17 i don't know how to use systemctl command

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-07-30 05:40:13 -0500

kdg1955 gravatar image

updated 2013-07-30 14:16:35 -0500

Fedora maintains a wiki page about systemd & systemctl.

But on Fedora 17 the telnet server is treated by xinetd.

  1. Start first your xinetd service => sudo systemctl start xinetd.service
  2. enable telnet service via xinetd => sudo chkconfig telnet on
  3. verify that xinetd is listening to the telnet port (23) => sudo netstat -t -a -p | grep xinetd.

and if it is positive, you can test locally => telnet localhost.

edit flag offensive delete link more


That's correct for most services, but not for telnet service. You want to use telnet.socket rather than telnet.service.

bgvaughan gravatar imagebgvaughan ( 2013-07-30 05:59:52 -0500 )edit

yes,it doesn't work, there is no telnet.service command

mkl34367803 gravatar imagemkl34367803 ( 2013-07-30 07:51:10 -0500 )edit

Apology. Next time, I'd better give it a try and afterwards I will respond. Meanwhile I have edited my answer

kdg1955 gravatar imagekdg1955 ( 2013-07-30 09:13:26 -0500 )edit

answered 2013-07-30 05:56:33 -0500

bgvaughan gravatar image

The first step to start telnet service is: DON'T. It's insecure: anything you type, including your password, will be in plaintext, visible to anyone with a packet sniffer. Telnet has long been superseded by OpenSSH for shell access.

Assuming that you know that, and have a good reason to run a telnet service, here's what you'd need to do to start it:

As root,

yum install telnet-server

systemctl start telnet.socket

And if you want it to run on boot,

systemctl enable telnet.socket

If you want outside access to your telnet service, you'd need to poke the appropriate holes in your firewall. Which, again, would be a bad idea.

edit flag offensive delete link more


[root@(none) fedora]# systemctl status telnet.socket

mkl34367803 gravatar imagemkl34367803 ( 2013-07-30 07:37:10 -0500 )edit

telnet.socket Loaded: error (Reason: No such file or directory) Active: inactive (dead)

mkl34367803 gravatar imagemkl34367803 ( 2013-07-30 07:48:23 -0500 )edit

it doesn't work, there is no 'telnet.socket' file

mkl34367803 gravatar imagemkl34367803 ( 2013-07-30 07:49:19 -0500 )edit

It is work!, It seems that all the service baseon xinted were change to this form to start.

firo gravatar imagefiro ( 2013-12-30 01:43:52 -0500 )edit

Question Tools


Asked: 2013-07-30 04:53:33 -0500

Seen: 20,431 times

Last updated: Jul 30 '13