Chinaunix首页 | 论坛 | 博客
  • 博客访问: 150712
  • 博文数量: 52
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 490
  • 用 户 组: 普通用户
  • 注册时间: 2007-11-05 12:05
文章分类

全部博文(52)

文章存档

2013年(1)

2010年(3)

2009年(6)

2008年(25)

2007年(17)

我的朋友

分类: LINUX

2007-12-29 09:52:40

How to enable Telnet on Linux (RHEL3)

Though ssh is popular and secure for remote login, sometime telnet is also needed if you want to debug ssh on a remote machine.

 

Steps of enable telnet,

 

Edit and make sure /etc/xinetd.d/telnet looks like below, then backup /etc/securetty and restart xinetd service. and chkconfig it on make sure it will run when system reboot.

 

[root@ uftyolx01 ~]# cat /etc/xinetd.d/telnet

# default: on

# description: The telnet server serves telnet sessions; it uses \

#       unencrypted username/password pairs for authentication.

service telnet

{

        flags           = REUSE

only_from      = 192.168.8.0/24

        socket_type     = stream

        wait            = no

        user            = root

        server          = /usr/sbin/in.telnetd

        log_on_failure  += USERID

        disable         = no

}

[root@ uftyolx01 ~]#mv /etc/securetty /etc/securetty.bak

[root@ uftyolx01 ~]#/etc/init.d/xinetd restart

[root@ uftyolx01 ~]# chkconfig --level 35 telnet on

[root@ uftyolx01 ~]# chkconfig --list telnet

telnet          on

阅读(1229) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~