UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > Linux Dedicated Servers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-12-2006, 06:36
Senior System Administrator
 
Join Date: Oct 2006
Posts: 151
Thumbs up Turn Telnet on for a Red Hat Enterprise Linux Server

How do I turn Telnet on for a Red Hat Enterprise Linux system?

Resolution:

Red Hat recommends that you use SSH to connect to a system instead of Telnet for security purposes. Passwords are transmitted in plain text when you use Telnet. For this reason, the root user is not allowed to connect using Telnet by default.

In order to turn Telnet on make sure that you have the correct telnet-server and telnet RPMs installed:

Quote:
# rpm -qa | grep telnet
telnet-server-0.17-26.EL3.2
telnet-0.17-26.EL3.2
The version numbers of the package should not matter, Red Hat Network (RHN) will always provide you with the latest version of the package for your subscribed channel.

If you do not have the telnet-server or telnet packages installed, you can install them with the RPMs available from your installation media or you can use the up2date utility along with your RHN subscription to download and install the package(s). For example:

Quote:
# up2date telnet-server telnet
Once you have the packages installed, check the /etc/xinetd.d/telnet file and ensure that disable = yes is changed to read disable = no.

Quote:
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream

wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}
Turn the Telnet server on using the chkconfig command and then make the service available for immediate use with the service command. You will need to restart the xinetd service.

Note: It is not required that you have the specific versions mentioned in the example above in order for this to work. The versions should be specific to your release. You must be root in order to use these commands. Also, if you get "command not found" then you may need to use the full path of the command. For example, to find the full path of the chkconfig command, type which chkconfig and you should get the full path: /sbin/chkconfig.

Quote:
# chkconfig --list telnet
telnet off
# chkconfig telnet on
# chkconfig --list telnet
telnet on
# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
The chkconfig command will make the Telnet server available to start the next time the system is rebooted. You will notice that Telnet is part of the xinetd daemon. In order to make the Telnet service available immediately, use service xinetd restart to restart the xinetd daemon. You should now be able to successfully Telnet to the server:

Quote:
[root@jaws root]# telnet special-ed
Trying 10.1.1.11...
Connected to special-ed.example.com (10.1.1.11).
Escape character is '^]'.
Red Hat Enterprise Linux AS release 3 (Taroon Update 5)
Kernel 2.4.21-32.ELsmp on an i686
login: jason
Password:
Last login: Sat Jul 2 14:46:57 from jaws
------------------------
Best Regards,
UKShane
http://www.eukhost.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:40.

 

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

Customer Testimonials
eUK Customer Testimonials


knowledgebase articles

eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting


popular blog categories


Web Hosting
Website Hosting articles

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles

Web Hosting
Web Hosting Service