1748060 Members
5734 Online
108758 Solutions
New Discussion юеВ

telnet

 
Maner
Occasional Advisor

telnet

telnet xyz

login: root
password: *****

root login refused on this terminal
login incorrect


Any idea how to enable telnet.

thx
8 REPLIES 8
Michael Schulte zur Sur
Honored Contributor

Re: telnet

Hi,

you have to insert a line with
ptys
into /etc/securettys

greetings,

Michael
Muthukumar_5
Honored Contributor

Re: telnet

what is there in /etc/securettys file. It may be defined to block root user login. Just use your account login and su to it.

hth.
Easy to suggest when don't know about the problem!
Vijeesh CTK
Trusted Contributor

Re: telnet

here, telnet login is blocked with /etc/securetty file.

in the file you need to give entry for ptys'

console
ttyp1
ttyp2

If the securetty file is present then thru console only you can do root login. otherwise. login with a normal user and do su.

smiles

Viju
Ivan Ferreira
Honored Contributor

Re: telnet

All posts above should work, but the telnet service is very insecure, you should avoid using telnet as root, and you should disable the telnet service and replace with ssh.

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Dave Unverhau_1
Honored Contributor

Re: telnet

Ivan's point is well taken. It may be that you can't telnet because you already have SSH configured. This is the default condition for systems that have version 5.1B of the o/s or later installed.

Before enabling telnet, seriously consider using SSH instead.

Best Regards,

Dave
Romans 8:28
Maner
Occasional Advisor

Re: telnet

.
Michael Schulte zur Sur
Honored Contributor

Re: telnet

Dear Maner,

the way you closed this thread was rather rude.
The comment field should be used as a feedback to the other forumers to see what has brought you a possible solution.
For this cause there is also a point system to rate the posts.
Most forumers here are not HP employees.

think about that,

Michael
ps. For all who say, this question does not award points, I agree, but at least one point is in order and a decent closure remark.
Ivan Ferreira
Honored Contributor

Re: telnet

I agree with Michael Schulte ;)
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?