Computing.Net > Forums > Linux > Configuring Telnet in Redhat 7.2

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Configuring Telnet in Redhat 7.2

Reply to Message Icon

Name: surosh
Date: January 23, 2002 at 19:21:30 Pacific
Comment:

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.



Sponsored Link
Ads by Google

Response Number 1
Name: Sudish
Date: January 23, 2002 at 23:14:08 Pacific
Reply:

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


0

Response Number 2
Name: surosh
Date: January 24, 2002 at 22:36:26 Pacific
Reply:

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.


0

Response Number 3
Name: Utkarsh
Date: January 26, 2002 at 22:53:22 Pacific
Reply:

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.


0

Response Number 4
Name: Ryan
Date: January 29, 2002 at 21:09:47 Pacific
Reply:

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

-Ryan


0

Response Number 5
Name: surosh
Date: January 30, 2002 at 16:50:30 Pacific
Reply:

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.


0

Related Posts

See More



Response Number 6
Name: Dee
Date: February 18, 2002 at 21:49:17 Pacific
Reply:

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.


0

Response Number 7
Name: rajesh
Date: February 26, 2002 at 06:44:03 Pacific
Reply:

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


0

Response Number 8
Name: Naveen
Date: February 28, 2002 at 10:01:56 Pacific
Reply:

Hi,
Login as root
chg to /sbin type ./chkconfig

you 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 service

You will be able do



0

Response Number 9
Name: johnj
Date: March 4, 2002 at 22:09:48 Pacific
Reply:

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


0

Response Number 10
Name: johnj
Date: March 4, 2002 at 22:31:41 Pacific
Reply:

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


0

Response Number 11
Name: Larry Davies
Date: March 5, 2002 at 01:27:07 Pacific
Reply:

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.



0

Response Number 12
Name: Mat!
Date: March 11, 2002 at 07:34:29 Pacific
Reply:

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 !


0

Response Number 13
Name: Mat!
Date: March 11, 2002 at 10:28:26 Pacific
Reply:

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


0

Response Number 14
Name: Mr. Keng
Date: March 12, 2002 at 00:36:43 Pacific
Reply:

try this command at shell
/etc/rc.d/init.d/ipchains stop


0

Response Number 15
Name: seungil
Date: March 14, 2002 at 20:42:08 Pacific
Reply:

Thanks, Mat!
I've solved my problem.


0

Response Number 16
Name: Shailesh
Date: March 18, 2002 at 20:24:40 Pacific
Reply:

Hi,

I wanna configure telnet on SOLARIS installed on Spark.
Can any one help me Pls



0

Response Number 17
Name: yogesh chaudhary
Date: April 11, 2002 at 15:01:11 Pacific
Reply:

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 reset

Add pts/0-9 in /etc/securetty file.

It should work..

Yogesh


0

Response Number 18
Name: aaron8tang
Date: April 22, 2002 at 07:24:55 Pacific
Reply:

add pts/0to5 is ok on my computer
but i really don't know what's the meaning of "pts"


0

Response Number 19
Name: temitope aladesanmi
Date: May 9, 2002 at 03:33:51 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Configuring Telnet in Redhat 7.2

Restarting Samba services in RedHat 7.2 www.computing.net/answers/linux/restarting-samba-services-in-redhat-72/8792.html

Subnet on Single NIC on Redhat 7.2 www.computing.net/answers/linux/subnet-on-single-nic-on-redhat-72/10519.html

Telnet no RedHat 7.2 www.computing.net/answers/linux/telnet-no-redhat-72/8106.html