How to configure telnet in redhat linux server

Hii guys today we will discuss about telnet. how can we configure telnet in RedHat Linux server. before we configure telnet we need to configure YUM server .becouse yum is helpfull telnet package installing so if you want to know how to configure yum. i have two methods. you just click here and look .how to configure yum  ./ how to configure yum in windows and access remotely. if we configure yum we will install telnet package very easy.

now i accept you configure yum in our system then you follow just simple step

Step1–before we install telnet package #yum install telnet*

[root@localhost ~]# yum install telnet*
Loaded plugins: rhnplugin, security
Repository 'a' is missing name in configuration, using id
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Package 1:telnet-server-0.17-39.el5.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package telnet.i386 1:0.17-39.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
 Package                                               Arch                                                Version                                                       Repository                                        Size
 telnet                                                i386                                                1:0.17-39.el5                                                 a                                                 57 k
Transaction Summary
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 57 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : telnet                                                                                                                                                                                                   1/1
  telnet.i386 1:0.17-39.el5

After telnet installation, we go to just telnet configuration file through this commands

[root@localhost ~]# vim /etc/xinetd.d/telnet

[root@localhost ~]# vim /etc/xinetd.d/telnet
service telnet
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/in.telnetd
        log_on_failure  += USERID
        disable         = no

Then we start telnet service [root@localhost ~]# service xineted restart

[root@localhost ~]# service xineted restart
[root@localhost ~]# chkconfig xinetd on

then we need any user account for telnet access so here we make the new user.

[root@localhost ~]# useradd vishnu1
[root@localhost ~]# passwd vishnu1
Changing password for user vishnu1.
New UNIX password:******
BAD PASSWORD: it is too short
Retype new UNIX password:******
passwd: all authentication tokens updated successfully.

then we  off our firewall

[root@localhost ~]# iptables -F
[root@localhost ~]# setenforce 0
setenforce: SELinux is disabled

now your telnet is ready we can access any remotely

thank you
by Vishnu Sharma


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s