LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-14-2006, 08:03 AM   #1
tfm1
Member
 
Registered: Jun 2006
Posts: 69

Rep: Reputation: 15
Cant telnet on Mandriva Linux 2006


I cant telnet on Mandriva Linux 2006. I am new to Linux but I suppose when you telnet you type the command telnet something.com port number

But when I type telnet it says command not found. What do I do?
 
Old 06-14-2006, 08:23 AM   #2
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Install the telnet package using your favourite package management tool. Here are two links with more info to help you out:

http://club.mandriva.com/xwiki/bin/Downloads/
http://www.marcelgagne.com/urpmi_install.html

But on your distribution, basically, logued in as root:
Code:
urpmi telnet
 
Old 06-14-2006, 08:27 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Telnet server is dead. Period. Don't use it. SSH is the successor.
 
Old 06-14-2006, 08:47 AM   #4
nlinecomputers
Member
 
Registered: Aug 2005
Location: Midland, TX
Distribution: Ubuntu
Posts: 125

Rep: Reputation: 15
Agreed. Don't install telnet. You can, and should, remote access from the command line using SSH. Telnet will get you hacked in minutes of it going on line.
 
Old 06-14-2006, 09:39 AM   #5
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
What if you don't own the remote machine and that it uses telnet only (this is not often the case but it still happens....) ? What if you want to use telnet to connect to a machine on a telnet like service (smtp, pop) on a different port ?
 
Old 06-14-2006, 09:47 AM   #6
nlinecomputers
Member
 
Registered: Aug 2005
Location: Midland, TX
Distribution: Ubuntu
Posts: 125

Rep: Reputation: 15
Well don't install a telnet server should be the more correct answer. If you have to use telnet to access a remote machine I would look to try and change that if all possible. Telnet for email access is ok as all email is transmited in the clear anyway. One reason you need to use PGP....
 
Old 06-14-2006, 10:01 AM   #7
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
On Mandriva the telnet client comes in the telnet package and the telnet server comes in the telnet-server package. Your box will be safe if you just install the telnet package (it comes installed by default - you must not have selected one of the package groups during install) although be aware that the username/password and all the commands and data you send to the remote box will be sent in the clear.

Only use it if you really have to.
 
Old 06-14-2006, 10:11 AM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Originally Posted by zeitounator
What if you don't own the remote machine and that it uses telnet only (this is not often the case but it still happens....)?
Can you provide just ONE example? Just one IP addrss or server name that offers telnet login to it's users? Telnet server was dead when first cracker entered computing world and buried into an unmarked place when first commercial cracker came around.
 
Old 06-14-2006, 12:28 PM   #9
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
Can you provide just ONE example? Just one IP addrss or server name that offers telnet login to it's users?
The company I work for writes Network Management software that is sold to some of the biggest corporations in in the world, ie. corps with 10's of thousands of servers. Their networks consist to a large part of legacy Unix servers which still use rlogin or telnet, not to mention all the switches and routers which use it. We've even had requests to install the telnet-server on our scanning machines since their network firewalls/routers are all setup to allow telnet through for the sysadmins, but not ssh.

So in answer to your question I could give you thousands of examples just from the companys that we deal with. I'm sure they don't allow telnet access from the public internet, but still at many large companies their internal networks have significant parts that are still on telnet or rlogin.

Quote:
Telnet server was dead when first cracker entered computing world and buried into an unmarked place when first commercial cracker came around.
In an ideal world, yes, but legacy software hangs around for a long, long time. Corect me if I'm wrong but even new Cisco routers still come with telnet on by default, you have to manually turn it off and enable ssh.
 
Old 06-14-2006, 12:41 PM   #10
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Well, I'm not here to argue about things like that. Obviously there are some obsolete solutions floating around. Which does not mean one should set up something new and fresh based on a telnet server.
 
Old 06-14-2006, 02:41 PM   #11
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
Which does not mean one should set up something new and fresh based on a telnet server.
Agreed and I'm not trying to start an argument either. I was just pointing out that telnet is still used a lot as a remote login method around the place, its far from dead (unfortunately ).

Last edited by tkedwards; 06-14-2006 at 02:43 PM.
 
Old 06-15-2006, 10:56 AM   #12
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Quote:
Originally Posted by Emerson
Can you provide just ONE example? Just one IP addrss or server name that offers telnet login to it's users?
192.168.3.34 - 192.168.1.56 - etc.... remote access to old sun hardware console that do not have an ssh option, old routers/switch that do not have ssh options nor web interfaces, old hardware running an out of age linux (and still needed for some historical reason), etc.... and that are still in use at some client places... althought I need to remotly login throuh ssh on a local box (or physically connect to the local network) before I can reach them, I then need a telnet client to operate on them. These situations are rather rare but still happen.
 
  


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
Mandriva linux 2006 freezes after instal t_mann Linux - Newbie 9 07-04-2006 04:21 AM
Can't burn Linux Mandriva 2006 to CD's, please help! Fear58 Linux - Newbie 2 03-18-2006 11:55 AM
Mandriva Linux 2006 freezes when initilizing ALSA 1.0.6 pda_h4x0r Linux - Newbie 0 02-15-2006 12:15 AM
LXer: Mandriva and HP launch new computers pre-loaded with Mandriva Linux 2006 in 37 Countries in Latin America LXer Syndicated Linux News 0 01-18-2006 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration