1828406 Members
3336 Online
109977 Solutions
New Discussion

Re: unable to telnet

 
SOLVED
Go to solution
Binu_5
Regular Advisor

unable to telnet

Hi

I have recently installed Ted hat linux in one of the system ..But the problem is
Iam not able to telnet to the new server from another system..The login screen comes but it is showing wrong passwd once I give the user name and password

Thanks
Binu

8 REPLIES 8
K.C. Chan
Trusted Contributor

Re: unable to telnet

Hi, I think you mean Red Hat Linux. Any, FYI telnet is turn off by default. If you want to login into the box,use ssh.
Reputation of a thousand years can be determined by the conduct of an hour
Binu_5
Regular Advisor

Re: unable to telnet

Hi

How to enable telnet service ....Iam able to get the telnet login screen but the problem is when I give the password
It shows incorrect passowrd but the same password works fine in the console


Thanks
Binu
Bejoy C Alias
Respected Contributor

Re: unable to telnet

I think u r loging in as root , which is by default blocked except from console . to enable login as root from ur telnet client u have to rename the /etc/securetty file as something like /etc/securetty.old or u need to login as a normal user and su to root from the telnet client.
Be Always Joy ......
Raj D.
Honored Contributor

Re: unable to telnet

Hi Binu ,

If you are getting the logon screen , that means , telnet service is enabled and running on the server.

The password is not accepting means , some problem. Well, If you are trying to logon as root , it will not allow you as only allow on console.

So you need to edit the file to put entry ..

1.# vi /etc/securetty and add pts/0 pts/1 (these are tty name from which u will be loggin in).
2.# vi /etc/xinetd.d (and at telnet entry put , disable=no)

Hope this will help you ,

Cheers ,
RajD.




" If u think u can , If u think u cannot , - You are always Right . "
Gopi Sekar
Honored Contributor

Re: unable to telnet


The problem is most likely that you are logging in as root and there is no tty device entry added in /etc/securetty file.

As suggested add pts/0, pts/1 and more in /etc/securetty file and try logging in. Another checkpoint to be visited is the PAM security system, ensure there is no misconfiguration in PAM setup

Regards,
Gopi
Never Never Never Giveup
Rajesh SB
Esteemed Contributor
Solution

Re: unable to telnet

Hi,

Are you facing telnet problem for any particular user or root. If only for root user, then under /etc move the file securetty to securetty. and try.

Regards,
Rajesh
Binu_5
Regular Advisor

Re: unable to telnet

Hi All

I have moved the /etc/securetty file and rebooted the system and it started working

Thanks for the help

Thanks
Binu
Rajesh SB
Esteemed Contributor

Re: unable to telnet

Hi Binu,

Just I would like to convey here.
So far you have asked several below questions in the forum without assigning any points to the contributor.

» unable to telnet
» Process ID for a particular semaphore
» how to enable 8888 port on HPux
» Linux server hangs intermitantly
» comparing and copying new files
» USB device files for HPUX11
» device files for USB ports
» unable to install clinet
» copy filesystem
» unable to login nis user in Graphical mode

Please don't forget to assign some marks to who help you.

Cheers,
RAjesh