1829749 Members
1455 Online
109992 Solutions
New Discussion

Re: Telnet to Linux Box

 
SOLVED
Go to solution
Rajendran_1
Advisor

Telnet to Linux Box

Dear Friends,

I first ask you all sorry for asking such a silly question, as u are an expert !!But I am new to Linux... Can any one tell me "How to enable telnet services to a Linux Box so that i can control it from anywhere in my LAN.. Help me out..
New
5 REPLIES 5
Thierry Baillon
New Member
Solution

Re: Telnet to Linux Box

Hi,

1) xinetd is active:

root@foo# ps -edf | grep xinetd
gives you a line like:
root 345 1 0 Mar 15 ? 00:00:00 xinetd -stayalive ... etc.

2) check for a file named:
/etc/xinetd.d/telnet

3) edit this file.

4) The file look like:

service telnet
{
type = INTERNAL
id = echo-stream
socket_type = stream
...etc.
disable = yes
}

5) change the disable = yes to a disable = no

6) type :

# /etc/init.d/xinetd restart

and this should do.

Hope it helps.

Regards,
Thierry BAILLON
Rajendran_1
Advisor

Re: Telnet to Linux Box

Thank you my dear friend,


It worked.... Here's your points..

Raj
New
Samuel Mathew
Frequent Advisor

Re: Telnet to Linux Box

I have a question to the experts. I have telnet enabled and the firewall opened up. Now I get the login screen when I try to telnet from my laptop to the Linux box. But if I enter root and its password, it is not accepted from the telnet screen. The same password is valid on the linux box itself.
What is the secret of this?
Can somebody help me with this?
Sam
Stuart Browne
Honored Contributor

Re: Telnet to Linux Box

Most modern Linux distributions deny the ability for the 'root' user to sign in over a network connection, requiring you to sign in as a non-priveledged user, then using 'su' to get priviledged access.

If you really want to, you can change this behaviour (look at /etc/pam.d/telnet, and the 'securetty' line), but I'd highly suggest leaving it as it is.
One long-haired git at your service...
Balaji N
Honored Contributor

Re: Telnet to Linux Box

samuel,

i have answered ur question in ur post.

and to the OP, please use ssh instead of telnet if u are on a public lan or if ur data security is important.

-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.