Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-29-2003, 07:51 AM   #1
LQ Newbie
Registered: Jul 2003
Distribution: RH9, RH8, RH7.2
Posts: 2

Rep: Reputation: 0
telnet closing connections


I am having a problem using telnet on a Redhat 7.2. The service is running, but when I try using it , I get the user and password prompt, but after that the connection close. Any ideas. This happens with every user not just root. Thanks
Old 07-29-2003, 08:04 AM   #2
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
It's probably dening you access for some reason (PAM, hosts.deny, etc). To figure this out, take a look at /var/log/secure and /var/log/messages immediately after a telnet failure. The last lines in one of these two log files should indicate why you are being kicked off immediately.

Also, this may sound rediculous- humor me. Can you verify that the user you are logging in with has a valid shell in /etc/passwd? If it is something like /bin/false, it will explain why telnet boots you out immediately.
Old 07-29-2003, 08:33 AM   #3
LQ Newbie
Registered: Jul 2003
Distribution: RH9, RH8, RH7.2
Posts: 2

Original Poster
Rep: Reputation: 0
I don't think it's a problem with the shell as I can ssh to the system. Thanks for the advice I will check those logs as soon as I get to work


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
Telnet Connections and broadcast messages CatSC Linux - Security 4 12-20-2004 11:53 PM
Refusing smtp and telnet connections johnsfrj Linux - Networking 18 10-21-2004 11:35 AM
Limit on Telnet Connections ** Urgent powerhouse Linux - Software 3 03-31-2004 07:24 AM
ftp/telnet not accepting connections mstembri Linux - Newbie 6 10-05-2003 02:11 PM
Telnet yet again. (refusing connections) hornokplease Linux - Networking 2 07-21-2003 03:30 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:12 PM.

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