LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-23-2012, 03:29 AM   #1
Sipenyu
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
Telnet server Fedora14


Hye I have a problem to start telnet service in my fedora14.
Here is the command output which describe my problem.
please help .tQ
Code:

[linux@localhost ~]$ su-
Command not found.
[linux@localhost ~]$ cd /etc/xinetd.d
[linux@localhost xinetd.d]$ service xinetd start
[linux@localhost xinetd.d]$ service telnet start
telnet: unrecognized service
[linux@localhost xinetd.d]$
 
Old 11-23-2012, 04:04 AM   #2
Lexus45
Member
 
Registered: Jan 2010
Location: Kurgan, Russia
Distribution: Slackware, Ubuntu
Posts: 339
Blog Entries: 3

Rep: Reputation: 47
Are you sure you have telnet server installed? SSH is de-facto, do you really want to use telnet?
I don't know about Fedora, but in Ubuntu the package is named 'telnetd'.
'telnet' is just a client, not server.
 
Old 11-23-2012, 07:33 AM   #3
DutchGeek
Member
 
Registered: Sep 2006
Distribution: SuSE, Slackware
Posts: 51

Rep: Reputation: 4
As Lexus45 said, sshd is much better than telnet. ssh is basically a secure version of telnet (nothing gets sent in plaintext), so no one can sniff your password when you login.
 
Old 11-23-2012, 08:03 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,985

Rep: Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753
As stated telnet is insecure and not recommended. Use ssh instead however you can enable it by editing /etc/xinetd.d/telnet and changing disable=yes to disable=no. Then restart xinetd.

Fedora 14 has reached end of life and therefore you will not be able to download updates any more. Upgrading to the latest version is recommended. Be sure to backup any and all important data.
 
Old 11-23-2012, 12:26 PM   #5
John VV
Guru
 
Registered: Aug 2005
Posts: 13,082

Rep: Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747Reputation: 1747
and to add
fedora might not have installed telnet
you might have to install it from the dead and unsupported fedora 14 repos
currently ONLY fedora 16 and 17 are supported

but
If you 100% MUST use a dead version of fedora and a insecure program on a insecure "out of date" operating system

you might want to post on the
"END OF LIFE"
thread over at Fedoraforum
http://forums.fedoraforum.org/forumdisplay.php?f=75

also from the FIRST post you are using this "su-"
That is wrong
it is "su" then a blank space and then a "dash"
then you type in your root account password
 
Old 11-23-2012, 10:33 PM   #6
Sipenyu
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
My project uses Fedora 14.
I should run telnet server in fedora 14. and i think i already install telnet.

[linux@localhost ~]$ su -
Password:
[root@localhost ~]# rpm -q telnet
telnet-0.17-51.fc14.i686
[root@localhost ~]# cd /etc/xinetd.d
[root@localhost xinetd.d]# ls
chargen-dgram daytime-dgram discard-stream rsync time-dgram
chargen-stream daytime-stream echo-dgram tcpmux-server time-stream
cvs discard-dgram echo-stream telnet

and already changed the configuration:

# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}

i also already change the firewall setting . but when i want to start the telnet the following error occur:

[root@localhost xinetd.d]# vi telnet
[root@localhost xinetd.d]# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
[root@localhost xinetd.d]# chkconfig xinetd on
[root@localhost xinetd.d]# chkconfig telnet on
[root@localhost xinetd.d]# setup
[root@localhost xinetd.d]# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
[root@localhost xinetd.d]# service telnet restart
telnet: unrecognized service

Before this i already configure the same telnet server but on Fedora 13 and it works.
But why in fedora 14 it became unrecognized service in the end?
 
Old 11-24-2012, 07:24 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,985

Rep: Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753Reputation: 753
telnet runs via xinetd, there is not a standalone telnet daemon so what you see is ok. What happens when try to connect on the same computer i.e.

telnet localhost

http://en.wikipedia.org/wiki/Xinetd
 
Old 11-26-2012, 01:56 AM   #8
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,301

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
You should use sshd instead, but if you are willing to risk being broken into, you'll need the server SW telnetd (note the 'd').
Code:
server = /usr/sbin/in.telnetd
At the moment, your rpm cmd only shows the telnet client installed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install Pandora FMS monitoring in Fedora14 | Console, Server and Agent LXer Syndicated Linux News 0 03-08-2011 07:20 AM
Unable to telnet to Linux Host inspite of installing telnet-server RPM - Need Help sinamdar Linux - Software 7 04-11-2009 07:09 AM
telnet server? ReSync Linux - General 9 07-04-2002 04:06 PM
Telnet server? TheWoodchuck Linux - Networking 6 04-23-2002 07:01 AM
Telnet server - how to? captnroger Linux - General 3 02-28-2001 10:54 AM


All times are GMT -5. The time now is 10:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration