LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   telnet closing connections (https://www.linuxquestions.org/questions/linux-networking-3/telnet-closing-connections-76902/)

gabsfedor 07-29-2003 07:51 AM

telnet closing connections
 
Hi,

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

bentz 07-29-2003 08:04 AM

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.

gabsfedor 07-29-2003 08:33 AM

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


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