Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.