LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-30-2004, 12:38 AM   #1
iikent
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Rep: Reputation: 0
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.
 
Old 01-30-2004, 01:02 AM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
inetd usually deals with telent.


check:
/etc/inetd.conf

Make sure the telnet line isn't commented out.
 
Old 01-30-2004, 01:27 AM   #3
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
If it is, uncomment it, save the file, then

Code:
killall -HUP inetd
 
Old 01-30-2004, 01:45 AM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
lol, good point Kristijan... completely forgot to mention how to use the info I provided. ;-)
 
Old 01-30-2004, 02:02 AM   #5
iikent
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks.

Btw, how to see what daemon is running?
 
Old 01-30-2004, 02:24 AM   #6
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
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
 
Old 01-30-2004, 02:39 AM   #7
iikent
LQ Newbie
 
Registered: Jan 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks!

How can you guys know so many things!
haha....
 
Old 01-30-2004, 02:50 AM   #8
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
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
 
Old 01-30-2004, 05:17 AM   #9
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
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
 
Old 01-30-2004, 09:35 PM   #10
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get people to use Linux? I'm bad at converting people over. Mr. Hill Linux - Newbie 31 10-19-2008 09:16 AM
trying to copy files from another machine to the local machine using telnet,..how? shrike_912 Programming 6 03-14-2006 04:45 PM
people cant telnet in flamah Linux - Newbie 8 05-31-2004 08:53 AM
people connecting to my machine via ftp evasion81 Linux - Security 5 02-26-2004 01:34 PM
how can I have people telnet/ssh to my box when im behind a router? digsby0007 Linux - Networking 4 11-19-2003 05:42 PM


All times are GMT -5. The time now is 05:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration