Red Hat Enterprise Linux 5, open Telnet service

2010-09-01  来源:本站原创  分类:OS  人气:168 

In Red Hat Enterprise Linux 5, open Telnet service, encountered some problems to find some resources from the Internet, combined with his own practice, to sum up.

RHEL5 default telnet is not installed and xinetd services, telnet services should rely on service xinetd start, so first install the xinetd service.

1, the installation xinetdt, telent service

Linux CD from the inside, find the installation file. I downloaded from the Internet, download

rpm-ivh xinetd-2.3.14-10.e15.i386.rpm

rpm-ivh telnet-server-0.17-38.e15.i386.rpm

Source files can also be installed xinetd:

tar zxvf xinetd-2.3.14.tar.gz
cd xinetd-2.3.14
. / Configure - prefix = / usr / local / xinetd
make
make install

2, start the service can then / etc / xinetd.d / telnet configuration file directory, configuration, according to the needs of your own customization.
Online said that the disabled is configured to no, in fact, I found this one has been commented out, without modification.

Implementation of the command service xinetd start
These services should be up, if you are unsure you can check under
netstat-an-t can see the 23-port xinetd up on the shows.

Note that service telnet status command, return telnet: unrecognized service information, is normal.

Or use the chkconfig - list | grep telnet
Telnet can see the status of what it is.

Abnormal situation: I install process, really encountered a problem, telnet service is not up circulates.

Check etc / xinetd.conf file, find telnet in the server = / usr / etc / in.telnetd, but the directory does not document and all in / usr / sbin Now, change the path is correct, service xinetd restart, telnet started.

Default boot:

chkconfig - add xinetd

chkconfig xinetd on

chkconfig - add telnet

chkconfig telnet on

3, telnet

telnet service started successfully, use the telnet localhost login prompt will appear, but the telnet IP address, it will refuse to connect.

telnet: connect to address 192.168.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

Need to modify / etc / xinetd.conf file, the original binding telnet address 127.0.0.1, the address of the actual IP address change on it. Telnet or the original copy to the following configuration, modify the binding IP.

telnet client IP address, also need to add xinetd.conf in can access, assuming that the client IP is 192.168.0.2

defaults
{
        instances               = 25
        log_type                = FILE /var/log/servicelog
        log_on_success  = HOST PID
        log_on_failure = HOST
        only_from               = 192.168.0.2 128.138.193.0 128.138.204.0 128.138.209.0 128.138.243.0
        only_from               = localhost 192.231.139.0/24
        disabled                = tftp
}

Or use the only_form # comment.

4, root user login

Line that changes according to / etc / securetty documents, and / etc / pam.d / login file, without success.

In the auth [user_unknown = ignore success = ok ignore = ignore default = bad] pam_securetty.so start with the # mask

Modify / etc / securetty file, add the file

pts / 1
pts / 2
pts / 3
pts / 4
pts / 5

相关文章
  • Red Hat Enterprise Linux 5, open Telnet service 2010-09-01

    In Red Hat Enterprise Linux 5, open Telnet service, encountered some problems to find some resources from the Internet, combined with his own practice, to sum up. RHEL5 default telnet is not installed and xinetd services, telnet services should rely

  • Various versions of Red Hat Enterprise Linux server comparison table 2010-02-08

    Red hat Enterprise Linux Advanced Platform 5.0 Features: Hardware requirements: architecture platforms: x86, AMD64, EM64T, Itanium Characteristics Description: support unlimited number of multi-CPU support the cluster (Dual Redundant) Languages: Engl

  • Red Hat Enterprise Linux 5 (32Bit/64Bit) to install Oracle (10g/11g) 2010-03-10

    Disclaimer: This article described a system command, without special labeling, are "#" for root privileges, and "$" oracle permission. First, install the system First install the Linux system, according to official documents Oracle's p

  • XManager Red Hat Enterprise Linux remote login 2010-02-25

    XManager telnet Red Hat Enterprise Linux (RHEL) 1 Open the / etc / inittab file, into runlevel 5, or id: 5: initdefault: If the original is 5, is not modified. 2 Open the / etc / gdm / custom.conf file to find [xdmcp] section, the Enabled option is s

  • Red Hat Enterprise Linux 6.0 KVM virtual machine combat Raiders 2011-03-29

    In the April 2010 release of RHEL 6.0 Beta version, removed Xen, which is perhaps the first well-known does not include Xen Hypervisor Linux distribution, Red Hat reported before may be used in the KVM completely replace RHEL 6.0 Xen, now appears bef

  • 红帽发布 Red Hat Enterprise Linux 5 下载 2015-02-27

    红帽今天在San Francisco发布了酝酿了两年之久的下一个重要版本Red Hat Enterprise Linux 5,这个版本让大伙期待了两年多,在SUSE Linux Enterprise Server 10.Windows Vista.Unix等商业平台的重压下,终于重装上阵.最重要的特性当属XEN虚拟化,还包括内核升级,Red Hat Cluster Suite等等. 雄厚的技术实力不仅让Redhat继续领头Linux操作系统市场份额,同时也对开源自由软件技术和商业模式带来了更多的

  • Red Hat Enterprise Linux AS release 4 installed YUM 2010-03-14

    System version: Linux localhost.localdomain 2.6.9-55.ELsmp # 1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU / Linux [Root @ localhost ~] # cat / etc / redhat-release Red Hat Enterprise Linux AS release 4 (Nahant Update 5) 1, 1. Download the pa

  • red hat enterprise linux 5.2 install and startup oracle 10.2.0 2010-03-17

    d rhel5.2 installed ORACLE 10G My installation steps with reference to the following method, the original address: http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.php Oracle Database 10g Release 2 (10.2.0.1) Installation On R

  • How to use APT to maintain Red Hat Enterprise Linux 4.0 (RHEL) 2010-04-30

    Using APT to maintain Red Hat Enterprise Linux 4.0 (RHEL) Introduction of how to use APT (Advanced Packaging Tool) to maintain Red Hat Enterprise Linux (RHEL), to provide individual users can not upgrade RHEL solution to the problem. Keywords: APT, L

  • Remote connection with Xmanager Red hat Enterprise Linux 5 settings 2010-07-14

    Linux using Xmanager remote access operation system is a very nice tool with graphical interface. Be configured before use linux, related to operations are as follows: Server: Red hat Enterprise Linux 5 Terminal: Xmanager 3.0 Server configuration :--

  • Red Hat Enterprise Linux Download the latest version 2010-09-26

    Red Hat Enterprise Linux Download the latest version: http://rhel.ieesee.net/uingei/ "Red Hat Linux 5.5 for x86 Server Edition" (Red Hat Enterprise Linux Server 5.5 for x86) official multi-language version for x86 platform [CD image] (32): http:

  • Red Hat Enterprise Linux 5 new features 2011-05-22

    The main features include: 1. Virtualization In a variety of platforms, support for virtualization In Red Hat Enterprise Linux Advanced Platform supports storage and server virtualization technologies extended Red Hat Network to provide support for a

  • Book: Fedora and Red Hat Enterprise Linux Practical Guide 2011-09-18

    Fedora and Red Hat Enterprise Linux Practical Guide

  • Red Hat Enterprise Linux 6 beta发布 2015-01-11

    Red Hat刚刚公布了其企业版Linux的最新Beta版,RHEL6 beta,它包含更强大的可伸缩性和虚拟化特性,并全面改进系统资源分配和节能. 新版带来了一个完全重写的进程调度器和一个全新的多处理器锁定机制,并利用NVIDIA图形处理器的优势对GNOME和KDE做了重大升级,新的系统安全服务守护程序(SSSD)功能允许集中身份管理,而SELinux的沙盒功能允许管理员更好地处理不受信任的内容. 红帽表示,RHEL 6将满足许多企业的未来需求,不管如何改变他们的系统. 下载:Red Hat

  • 硬盘安装Red Hat Enterprise Linux 5(无需U盘,光盘,软盘等各种盘) 2011-04-12

    经过试验,以下方法成功可以成功. 由于开发的需要,急需安装Red Hat Enterprise Linux 5系统.没有安装盘,所以只能希望硬盘安装了,Google了一下,网上的关于硬盘安装RHEL5的文章多如牛毛,但真正适合我的情况的太少.顺便说一下我的情况: 1 没有RHEL5的安装盘 2 讨厌用U盘做启动盘(麻烦啊) 3 之前安装过Ubuntu9.10 安装之前看了几篇帖子,发现硬盘安装要注意的情况有以下几点: 1 下载grub for dos 2 下载矮人工具箱 3 下载RHEL5的5个

  • Red Hat Enterprise Linux 5 using the experience (1) NTFS reel mount and can read and write set 2010-08-07

    Transfer: http://hi.baidu.com/56908268/blog/item/3143c3957bcaf541d0135e60.html How to mount an NTFS formatted hard drive to linux system? Need to download a patch to support NTFS. 1, NTFS mount reel A test with your kernel version and CPU type # Unam

  • RED HAT ENTERPRISE LINUX 5 SERVER mount NTFS 2011-01-17

    RHEL default only recognizes the win under vfat, ntfs format does not recognize. If you want to mount in linux nffs format the hard disk as follows: (1) Download Source Package: http://tuxera.com/opensource/ntfs-3g-2010.10.2.tgz (2) Installation: tar

  • How Red Hat Enterprise Linux 5.4 version installed on the GCC? 2011-03-02

    Note: If you intend to use the GUI install, you need to import GPG-Key (or use the GUI will appear public key for *. rpm is not installed) Please switch to the CD-ROM directory: cd / media You can see the RHEL * directory, and then switch to this dir

  • Installing Ruby on Rails on Red Hat Enterprise Linux 4 2010-04-21

    Determine what Ruby RPMs are installed: $ rpm -qa | egrep '(ruby)|(irb)' ruby-libs-1.8.1-7.EL4.2 Uninstall Ruby RPMs: $ sudo rpm -e ruby-libs-1.8.1-7.EL4.2 Install Ruby from source: $ wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6-p114.tar.gz$ tar

  • Installing git on Red Hat Enterprise Linux 2010-09-25

    With the RPM install error: [Root @ bogon tmp] # rpm-ivh git-1.7.3-1.fc11.i386.rpm error: Failed dependencies: libcrypto.so.8 is needed by git-1.7.3-1.fc11.i386 libcurl.so.4 is needed by git-1.7.3-1.fc11.i386 libexpat.so.1 is needed by git-1.7.3-1.fc