LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-29-2005, 10:43 PM   #1
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
Post How to enable telnet in RHEL 4


Hello,
How to enable telnet in RHEL 4 ES?ssh is OK.But I just want to try telnet.I searched /etc/xinetd.d/telnet but no such files.please.....help me.
 
Old 09-30-2005, 01:32 AM   #2
praveenr
LQ Newbie
 
Registered: Sep 2005
Location: mysore
Posts: 5

Rep: Reputation: 0
hi,

you first check whether telnet package is installed on ur m/c, by
using rpm -qa | grep telnet*
then edit /etc/xinetd.d/telnet and change disable = no
then you start the daemons by using /etc/init.d/network restart and /etc/init.d/xinetd restart

bye
praveenr
 
Old 09-30-2005, 08:35 AM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
From my RedHat AS 3 the /etc/xinit.d/telnet looks as follows:

# 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 = yes
}


You can create this file and as prior poster says change "disable = no"

Also run "iptables" and verify you aren't excluding everything. You might need to open up telnet's port there if you are.

Having said all that I'd strongly suggest you NOT enable telnet. It is a very insecure communication tool. Since ssh is free for Linux/Unix and there is a free openssh for Windows you should be able to make any machine do ssh so do not have to enable telnet.
 
Old 10-02-2005, 02:42 PM   #4
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773

Original Poster
Blog Entries: 1

Rep: Reputation: 34
Post

Thanks to All,Tenet rpm is not installed;solved.
 
Old 10-04-2005, 06:53 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Before you try telnet, please be sure you understand the risks.
There is probably a good reason the rpm is not installed in RHEL 4.
 
Old 10-06-2005, 02:46 AM   #6
y0gi
LQ Newbie
 
Registered: Oct 2005
Posts: 7

Rep: Reputation: 0
SSH ?

Use SSH intead
 
Old 10-07-2005, 11:18 PM   #7
basemodel
Member
 
Registered: Jul 2003
Posts: 54

Rep: Reputation: 15
Telnet might seem convenient, but you're asking to get hacked.
 
Old 10-17-2008, 04:52 AM   #8
friendyogi
LQ Newbie
 
Registered: Apr 2008
Location: Hyderabad
Distribution: Redhat, Centos, Ubuntu, Debian
Posts: 5
Blog Entries: 2

Rep: Reputation: 0
Help me to enable telnet on RHEL 5

I understand that telnet is not secure at all
But i need to test it
How to enable telnet on RHEL 5??
Please help
 
Old 10-17-2008, 10:20 AM   #9
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Please don't post to 3 year old threads.

You should open a new thread instead. This helps you because only the people that subscribed to the original thread will see your post (and that implies they're still around to see it). New posts have a much higher visibility because they go into the "zero replies" queue that many of us examine.

The way to enable telnet on RHEL5 is pretty much the way I posted above for RHEL3 3 years ago though there might be slight differences in the file.
 
Old 10-18-2008, 05:26 AM   #10
franklindoss
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
Post configuring telnet

Quote:
Originally Posted by friendyogi View Post
I understand that telnet is not secure at all
But i need to test it
How to enable telnet on RHEL 5??
Please help



Telnet is a insecure protocol b'se it sends data with plain text format.
Defaulty telnet disabled to root.
you check first,whether telnet running or not with below command.

# pgrep telnet
if it shows pid,running telnet or service telnet restart,if you want to run at next reboot chkconfig telnet on

configuration file
/etc/xinetd.d/telnet

you try to enable,its so easy.
 
  


Reply



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
enable telnet mbquartnut SUSE / openSUSE 6 05-23-2008 10:35 PM
How to enable telnet muneebs123 Linux - Newbie 11 04-04-2008 05:01 AM
Telnet on RHEL 4 managed.service Linux - Enterprise 2 04-25-2005 09:00 AM
enable telnet but can't telnet from the computer guanyu Linux - Networking 8 08-26-2002 06:34 AM
To enable Telnet access arraman Linux - General 5 09-14-2001 10:26 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 05:45 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