Solved

Login problems

Posted on 2000-03-11
9
372 Views
Last Modified: 2010-04-20
I'm looking for some suggestions regarding a problem that just cropped up on my linux server.

What's happening is:  Attempts to login to the machine (telnet, rlogin, console, IMAP) fails.  Telnet doesn't even show the "username" prompt, console and rlogin attempts freeze up after the password: prompt.

sendmail is receiving mail, and I can retrieve it with POP, but not IMAP.  I can connect with FTP just fine.

I figure I should see a pattern here, but don't and would love it if someone could point it out to me.

All the files are local (no NFS)...

summary:

not working:
rlogin (stops after password entered)
console (stops after password entered)
telnet (not even a username: prompt)
IMAP fails to connect

working:
sendmail receive
POP3 fetch
FTP
WWW
ipfwd
samba

Anyone?
0
Comment
Question by:wormzer
9 Comments
 
LVL 3

Expert Comment

by:jyu_88
Comment Utility
for all users or just one particular user? If just one user, then could be invalid shell.

telnet no prompt, could be telnetd is not running or inetd is not running or could fork new processes due to exhausted recoures (max # of processes, etc.)? Is this server a busy or heavy-loaded one?






0
 
LVL 1

Author Comment

by:wormzer
Comment Utility
No loads
All users
telnetd is running (spits out RedHat... welcome, just no "username" prompt.

You're where I was when I first noticed the problem. :)
0
 
LVL 8

Expert Comment

by:stefanx
Comment Utility
I've found that in.telnetd attempts to do a reverse lookup on the source address first. When it cannot resolve (for example from a host within a masqueraded network), then it appears to hang. Give it about 3 minutes though and it eventually gives you a login prompt. Sendmail and pop3 don't do this, or at least don't wait that long for name resolution - imap, I don't know - have never used it.

If this is indeed your problem, install bind and set up zone files for your private IP's (if you are trying from a masqueraded network)

Hope that helps.
0
 
LVL 1

Author Comment

by:wormzer
Comment Utility
Adjusted points to 500
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 1

Author Comment

by:wormzer
Comment Utility
console logins don't work either is the thing.  No matter how long I wait.  It's something to do with /sbin/login I think.  I'm finally able to check on it some more so we'll see how it goes.

Also, masquerading and samba are both working.  I'll add them to my list above.
0
 
LVL 1

Author Comment

by:wormzer
Comment Utility
Edited text of question.
0
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
Comment Utility
Have you changed anything recently, like upgraded some libraries or something related to pam? You didn't say what Linux, but on RedHat /bin/login is dynamically linked to a bunch of things. Also if /etc/pam.d/login gets screwed up it could cause this behaviour.  
0
 
LVL 1

Author Comment

by:wormzer
Comment Utility
ugh.  It turns out that someone hacked in and screwed up the security stuff.  Nevermind.  I guess I'm going to have to go through that scrub that I've been putting off.

Thanks for all the help -- I'll just distribute the points to everyone who tried to help.
0
 
LVL 1

Author Comment

by:wormzer
Comment Utility
Sorry -- for some reason I thought you could distribute points.  jlevie came the closest, so I gave them to him.

Thanks everyone.

Scrub... scrub...
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now