LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2007, 01:32 PM   #1
kraas
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Rep: Reputation: 0
Can't get telnet server to work...


I've installed the telnet-server RPM (telnet-server-0.17-28.FC2.1.i386.rpm), but I'm not sure where to go from there. I can telnet to the machine, but when I attempt to log in as root it tells me "Login incorrect" even though I am using the right password. When I log in as a non-root user, it will accept the password but sit there forever.
 
Old 05-03-2007, 01:33 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
dont try to get telnet to work. use ssh instead.

sounds like a user / password issue anyway. nothing to do with networking at all. moved to Linux - Newbie.
 
Old 05-03-2007, 02:07 PM   #3
kraas
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Original Poster
Rep: Reputation: 0
What I am trying to do won't work with SSH, or I would already be using that.
 
Old 05-03-2007, 02:53 PM   #4
sparc86
Member
 
Registered: Jul 2006
Location: Hamburg, Germany
Distribution: Debian, CentOS
Posts: 297

Rep: Reputation: 31
Maybe your sshd is configured to doesn't allow root access. As well as your telnetd.
 
Old 05-03-2007, 03:10 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by kraas
What I am trying to do won't work with SSH, or I would already be using that.
so try to fix that problem, not this one then surely?
 
Old 05-03-2007, 03:35 PM   #6
kraas
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Original Poster
Rep: Reputation: 0
The software I'm using was made to be used with telnet. It's not my job to rewrite this software, I'm supposed to work with it as is. Can someone answer my question?
 
Old 05-03-2007, 04:20 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
ok well what does your telnet config file say? should be /etc/xinetd.d/telnet or similar. denying remote root logins is a really common thing, and a really good idea...
 
Old 05-04-2007, 08:45 AM   #8
kraas
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Here's what my xinetd.d/telnet file says:

Code:
# 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            = stephan
        server          = /usr/sbin/in.telnetd
        log_on_failure  += USERID
}
 
Old 05-04-2007, 09:39 AM   #9
kraas
LQ Newbie
 
Registered: Apr 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Okay, I found that if I wait long enough I can telnet as a non-root user, but I get this message after sitting there for a while:

"Cannot contact any KDC for requested realm while getting initial credentials"

Not sure what that means.

Also, is it possible to enable root access via telnet if I need it?
 
  


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
Unable to telnet to Linux Host inspite of installing telnet-server RPM - Need Help sinamdar Linux - Software 7 04-11-2009 08:09 AM
my telnet does not work hayyan_suse Linux - Networking 12 03-24-2007 01:41 PM
making telnet work explorer Fedora 2 05-02-2004 03:56 PM
getting telnet to work Bashkir Linux - Newbie 2 05-16-2001 08:36 AM
why oh why does telnet not work? bobthebat Linux - Networking 3 04-23-2001 02:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:38 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration