1828959 Members
2082 Online
109986 Solutions
New Discussion

Re: Unable to Telnet

 
SOLVED
Go to solution
dhamodharan_1
Occasional Advisor

Unable to Telnet

Hi all

Iam using RED HAT EL4 , I have assigned the /etc/xinetd.d/telnet and set the disable parameter to NO , ans restarted using /etc/init.d/xinetd restart
but i cannt able to open the telnet session,
Can anyone let me what steps i have to do to get achive it.

Thanks in Advance

5 REPLIES 5
Alexander Chuzhoy
Honored Contributor

Re: Unable to Telnet

Well,looks like you have a running firewall.
try: service iptables stop
and then check again. It's preferably to use ssh nowadays....
Bill Thorsteinson
Honored Contributor

Re: Unable to Telnet

Check netstat -lnt to verify that something
is listening to telnet.
Check hosts.allow and hosts.deny to ensure
telnet is not disabled there.
Check iptables -L to ensure that
telnet is not disabled there.

Or more secure reset the disable parameter
to YES and use SSH.
dhamodharan_1
Occasional Advisor

Re: Unable to Telnet

Thanks Alex

I have stoped the iptables service , Now i can able to open telnet session , but i cannt able to login as a root in telnet session.Where can i change the console login as a root anywhere.
Alexander Chuzhoy
Honored Contributor

Re: Unable to Telnet

to be able to login as root via telnet
you must append to /etc/securetty
pts/0
pts/1
pts/2
pts/3
....
pts/20

and then again restart the xinetd service



Steven E. Protter
Exalted Contributor
Solution

Re: Unable to Telnet

Shalom,

by default telnet is disabled for root on Linux systems. Then again, so is telnet, so someone has modified the system already.

For root access, you may need to log in with ssh, assuming you have the root password.

Otherwise you need to boot with a rescue cd get a prompt and type the command passwd root

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com