Telnet problems

I just installed mandrake 6.1.  I am having problems with allowing other people to connect to my machine using telnet.
When someone connects to my computer it responds with connection terminated and goes no further.  
tmassingtateAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

j2Commented:
From what i have read, mandrake does NOT install the telnet daemon by default. Consult your manuals and install it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
godfatherCommented:
That indicates a wrong DNS configuration (or perhaps none at all?). Check your /etc/resolv.conf, or try adding both localhost and the connecting host to /etc/hosts.
0
godfatherCommented:
wups, my bad, I thought you wrote connection established :-)

I do belive, however, that Mandrake installs the telnet daemon by default (at least it did on my system)
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

lreed010600Commented:
I haven't used Mandrake, but your question tells me that your machine is listening on the telnet port.  (Otherwise you'd get "connection refused.")  Check out the man pages on /etc/hosts.allow and /etc/hosts.deny.  When telnet access is denied by these files, the TCP-level connection is accepted and then immediately dropped, which is what you're seeing.  Alternaively,if no telnetd is installed, perhaps inted is accepting the connnection and then can't do anything.  In either case there should be a footprint in the syslog, typically /var/log/messages.
0
edicomCommented:
Well what s /var/log/secure saying (tail /var/log/secure just after you tried to connect)?
0
joe_hCommented:
Solution is simple:
1. Log in as root
2. Using your favourite editor, open /etc/inetd.conf
3. Find the line that starts with:
#telnet
4. Remove the starting #
5. Save the file
6. Restart the inet daemon by typing
killall -HUP inetd

and it's done :)))

If it does not work, post the relevant line from /etc/inetd.conf.
0
samriCommented:
tmassingtate,

  What is the userid that the user try to log in.  I hope it's not root.

Try using other login id.  Sometime, some systems, Solaris for example restrict root login only from the console.

Samri
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.