Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Login problems

Posted on 2000-03-11
9
Medium Priority
?
382 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
ID: 2608213
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
ID: 2608228
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
ID: 2608244
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 1

Author Comment

by:wormzer
ID: 2608267
Adjusted points to 500
0
 
LVL 1

Author Comment

by:wormzer
ID: 2608268
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
ID: 2608269
Edited text of question.
0
 
LVL 40

Accepted Solution

by:
jlevie earned 2000 total points
ID: 2608295
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
ID: 2608310
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
ID: 2608314
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month7 days, 22 hours left to enroll

824 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