LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   make sure people can telnet to my linux machine (https://www.linuxquestions.org/questions/linux-newbie-8/make-sure-people-can-telnet-to-my-linux-machine-140253/)

iikent 01-30-2004 12:38 AM

make sure people can telnet to my linux machine
 
Hello,

If i want to make sure people can telnet to my linux machine, which daemon i should check is on? pppd? telnetd? and ?

Also, which command is used to see what daemon is running?

Thanks a lot.

frob23 01-30-2004 01:02 AM

inetd usually deals with telent.


check:
/etc/inetd.conf

Make sure the telnet line isn't commented out.

Kristijan 01-30-2004 01:27 AM

If it is, uncomment it, save the file, then

Code:

killall -HUP inetd

frob23 01-30-2004 01:45 AM

lol, good point Kristijan... completely forgot to mention how to use the info I provided. ;-)

iikent 01-30-2004 02:02 AM

Thanks.

Btw, how to see what daemon is running?

MartinN 01-30-2004 02:24 AM

Hi Kent!

To see if a service is active, you can check if something is listening to the port in question. Telnet uses port 23, a list of services and ports can be found (for example) here:
http://www.iss.net/security_center/a...ts/default.htm

To see if something listens to a port use the netstat command:
netstat -ln
You are looking for a line like this:
Code:

tcp        0      0 0.0.0.0:23              0.0.0.0:*              LISTEN
Martin

iikent 01-30-2004 02:39 AM

Thanks!

How can you guys know so many things! :)
haha....

MartinN 01-30-2004 02:50 AM

Karate, not here (Mr. Miyagi points at Daniels hand)
Karate, not here (Mr. Miyagi points at Daniels foot)
Karate, in here (Mr. Miyagi points at Daniels forehead)
;)

Martin

Disclaimer: It was a while since I saw it (Karate Kid), but I think the scene was something like that

hw-tph 01-30-2004 05:17 AM

Martin, you're a complete nutball. Where the heck did the Karate Kid ravings come from? :)

I just feel the need to be the voice of reason here, so here I go again:

Do NOT use telnet. Don't use it at all!

There really is no reason to use telnet when there are worthy, secure replacements such as sshd and telnet-kerberos. Using telnet means you're sending passwords and information across the network in clear text which makes it extremely easy for someone to pick up not only perhaps critical information but also passwords and other sensitive information.

Use ssh, that's my advice. It's just as easy and there are good free ssh clients for Windows if that's a requirement. All major Linux distributions come with the sshd daemon and ssh client and it's not much of a hazzle to get started either. Just start the daemon!

Håkan

ksgill 01-30-2004 09:35 PM

Use ssh (look for sshd) -instead of telnet. Telnet is very insecure and anyone can look at your passwords.


All times are GMT -5. The time now is 03:02 AM.