Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi Everyone,
I am new to Redhat linux. I have just installed redhat 7.2 and trying to telnet to same server from same machine with root user and system fails to connect through telnet. I have checked the network is working alright. Like I can ping to this server from other network connected machine. Which I assume that network card is operating properly. Do I need to add anything like in some services file or remove tty entry. I read that telnet is very secure in 7.2 and must use ssh but if I would like to configure telnet what must I do.
For the time being I am not sure exactly what is the error in logs but as far as I remember it was like user cannot connect to server. Authentication failed. But I am already looged in with root user so I assume that it has got nothing to do with password wrong unless there is any other settings where we can say that user is only allowed from one terminal or if rrot is already logged in then user cannot login to root again.
Please inform.

make sure that in /etc/xinetd.d/telnet, that disable = no. If not, change this line and then restart xinetd.
this is the case with 7.1

Tried it as well. Still its not working.
Comes up with this Trying 192.168.1.2
telnet:connect to address 192.168.1.2: Connection refused.Following error came up in /var/log/messages
Service telnet missing attribute user.
Service atelnet missing attribute user.Please inform what must I do now.

You must have installed ipchains and iptables by default which blocks access for non secured ports like telnet.
you can disable these using chkconfig command
and if enable telnet if it's not on.

Try it with a different account other then root. Create one and use it, repost if it doesnt work still.
-Ryan

I have tried with other user as well and it comes up with same error. It could be something to do with ipchanins and firewall settings.
But will keep you posted about the progress though.

I am using RH7.2 and encountered the same problem. But after enabled telnet service and disabled ipchains and iptables(with "/etc/rc.d/init.d/ipXXXX stop"). I can now connect through telnet.
please check if you have "ALL:ALL" in /etc/hosts.deny, which will ban all telnet connection as well.

Dear sir
After doing all the above settings
still i could not able to connect telnet server.the error iam getting is
login: no shell : permission denied
thanks
rajesh bada

Hi,
Login as root
chg to /sbin type ./chkconfigyou get
-
[root@mics sbin]# ./chkconfig
chkconfig version 1.2.24 - Copyright (C) 1997-2000 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.usage: chkconfig --list [name]
chkconfig --add
chkconfig --del
chkconfig [--level ] )-
use
chkconfig --add telnet on
Then reset telnet serviceYou will be able do

I am having the same problem as the person above. I am using redhat 7.2 on my P3 gateway; I am not able to connect with telnet from my laptop. I also receive connection refused; I have tried all of the above; I did a chkconfig --list and telnet is listed as on;
??? It is probably something simple.. but its not working on my linux either....
thanks,
johnj

Guess what.. it's now working. I noticed that I was typing in from my win 2000 cmd line: telnet 193.xxx.1.1 and this did not work. So I typed in 193.xxx.1.100 and it works now.. pretty werd. I need to enter '100' rather than '1' at the end of my IP address. I am now up...
Hope this helps.
johnj

Hi
I have installed redhat on a box with 2 network cards(trying to use it as proxy), connected to a hub with win98 box I can be able to telnet from the Win98 box to see both the Linux cards, but cant seem to be able from th linux box to thw win98 any ideas help please.

Hi,
I'm having the same kind of telnet problem. Mine is more focused on telnet as a root user. I can telnet using any user (yp users, local users) except root members. rlogin was doing the same thing and I solved it by putting rlogin at the end of /etc/securetty. I tried to put telnet too but didn't work (even if I putted pts/0 also). Any Ideas to enable telnet via root user ?? thanks !

Hi there,
For those who would like to know I solved my problem by adding "pts/0to9"(pts/0, pts/1, etc) at the end of /etc/securetty.(Redaht 7.2) Redhat's web site is actualy recommending adding pts/0to5 but it didn't work in my case.
I can't see the diffrence, is anybody know why?thanks

Hi,
please do not mess with /etc/pam.d/login file.
Make sure have /usr/sbin/in.telnetd in place.
do following
chkconfig --add telnet on
chkconfig telnet resetAdd pts/0-9 in /etc/securetty file.
It should work..
Yogesh

Hi,
I had the same problem few minutes ago. The Sudish solution worked perfectly okay.
I am very new to linux - five days of experience. This site is quite attractting as a learner; do I have to register for membership or what.
temitope

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |