Click to See Complete Forum and Search --> : Console / Telnet login problem
jdlangdon
12-13-2000, 01:02 PM
I have 2 yes TWO Red Hat 6.2 servers running side by side with the same problem and I really need some help.
The problem is when I try to telnet into either of the servers it never asks me for a username or password, it just hangs after:
Red Hat Linux release 6.2 (Zoot)
Kernel 2.2.14-5.0smp on an i686
Also, if I try to enter a virtual console it will ask me for a username but then it hangs and I'm not given the option to enter a password.
The funny thing about this is that the GUI is working fine. I can log into GNOME as ROOT and preform any administrative task I need and log out again. I just can't login from a virtual console or telnet.
I guess I should mention that this was working and just stopped and as far as I can tell, there is nothing new installed on either system.
Any help would be greatly appreciated,
Jason
PLBlaze
12-13-2000, 01:17 PM
Root access thru telent is disabled by default for security reasons...use ssh which is a secure replacement to telent.One thining that's strange,you should get a msg saying "you trying to login as root,access denied.Go away!"...Maybe your telnet is disabled in inetd.conf?Hope this helps.
jdlangdon
12-13-2000, 01:23 PM
Originally posted by PLBlaze:
use ssh which is a secure replacement to telent.
It doesn't matter if I use telnet, ssh, rlogin or any other command line login utility, they all bomb after I enter a username and I never see the password prompt.
Jason
Tantor
12-13-2000, 06:06 PM
Definately check out your /etc/inetd.conf file, try this--
grep -v "^#" /etc/inetd.conf
-- it will show you all the services offered by inetd.conf, if the file doesn't exist you will need to create one....
Tantor
12-13-2000, 06:08 PM
Definately check out your /etc/inetd.conf file, try this--
grep -v "^#" /etc/inetd.conf
-- it will show you all the services offered by inetd.conf, if the file doesn't exist you will need to create one....
Tantor
12-13-2000, 06:20 PM
one last point... did you do a workstation install of RH6.2, if so RH expect you not to offer services like FTP + Telnet so no inetd file would be created. you may need to do an 'upgrade' from your install disks to add this functionality....
post a reply if I'm way out!!
jdlangdon
12-14-2000, 09:28 AM
I did a custom install on both servers and made sure that FTP and Telnet were installed on both.
As for my inetd.conf file has ftp, telnet, login, shell. and finger listed as services which are running.
Jason
Tantor
12-14-2000, 04:36 PM
Hmmm.. well since no-one else has commented http://www.linuxnewbie.org/ubb/smile.gif
try this "ps -ef |grep inetd" you should get the following:-
"root 519 1 0 19:20 ? 00:00:00 inetd"
(plus maybe your grep process!)
if not the the inetd file has not been started at boot time and so no services
will be offered.
OR:--
go to "/var/log" and do a "tail -f messages" in term window1
then try to telnet locally (i.e. "telnet 127.0.0.1") in term window2 and see
what message pops up in term 1. This may give you a clue as to the nature
of the error message and help cure it....
Hope this helps.......................
idealego
12-15-2000, 04:22 AM
You do have telnet running, if you didn't you wouldn't see
"Red Hat Linux release 6.2 (Zoot)
Kernel 2.2.14-5.0smp on an i686"
when you try to log in with it.
Whatever computer you're trying to telnet in with can you successfully telnet into another system with it? if so then I have no idea what your problem is.
arowland
12-15-2000, 04:34 AM
In the spirit of KISS (Keep It Simple Dummy)
How are you telneting? To port 23?
At a command line:
telnet <server> 23
?
And you are logging into an account on the target server, not a user login on your local server.
My apologies if this seems an insult to your expertise but even I have called LAN support about login failure only to be embarrased when they ask, "Is your caps lock on?"
[This message has been edited by arowland (edited 15 December 2000).]
jdlangdon
12-15-2000, 08:59 AM
Originally posted by Tantor:
try this "ps -ef |grep inetd" you should get the following:-
"root 519 1 0 19:20 ? 00:00:00 inetd"
(plus maybe your grep process!)
OR:--
go to "/var/log" and do a "tail -f messages" in term window1
then try to telnet locally (i.e. "telnet 127.0.0.1") in term window2 and see
what message pops up in term 1. This may give you a clue as to the nature
of the error message and help cure it....
Hope this helps.......................
I just tried typing ps -ef |grep inetd and the following message came up:
"1306 ? S 0:00 \_grep inetd LESSOPEN=|/usr/bin/lesspipe.sh %s USERNAME=r"
When I type tail -f messages nothing happens until I press control+C to exit the second term window. Once I exit the second window a message in the first window reads
"Dec 15 09:42:06 server inetd[503]: pid 1245: exit status 1:
Other then that everything else is still the same.
Jason
Tantor
12-15-2000, 04:40 PM
Yup, gotta agree with "idealego" looks like inetd and telnet server are running, otherwise you'd get
"telnet: Unable to connect to remote host: Connection refused" - message...
still thinking!