| 网站首页 | 新闻中心 | 系统安全 | 网络安全 | 安全技术 | 下载中心 | 安全365社区 |
安全365
收藏本站
设为首页
会员登录:
站内搜索: 新闻中心 系统安全 网络安全 安全技术 下载中心
| 系统安全首页 | 漏洞分析 | 入侵检测 | 升级补丁 | 安全配置 |
Ubuntu Linux系统开启TELNET服务的方法
Ubuntu Linux系统开启TELNET服务的方法
作者:sixth 文章来源:赛迪网 点击数: 更新时间:2007-11-20 1:14:39
 

1. sudo apt-get install xinetd telnetd

2. 安装成功后,系统也会有相应提示(好象7.10才有,6.10就没看到)

sudo vi /etc/inetd.conf并加入以下一行

telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd

3. sudo vi /etc/xinetd.conf并加入以下内容:

# Simple configuration file for xinetd

#

# Some defaults, and include /etc/xinetd.d/

defaults

{

# Please note that you need a log_type line to be able to use log_on_success

# and log_on_failure. The default is the following :

# log_type = SYSLOG daemon info

instances = 60

log_type = SYSLOG authpriv

log_on_success = HOST PID

log_on_failure = HOST

cps = 25 30

}

includedir /etc/xinetd.d

4. sudo vi /etc/xinetd.d/telnet并加入以下内容:

# default: on

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

# unencrypted username/password pairs for authentication.

service telnet

{

disable = no

flags = REUSE

socket_type = stream

wait = no

user = root

server = /usr/sbin/in.telnetd

log_on_failure += USERID

}

5. 重启机器或重启网络服务sudo /etc/init.d/xinetd restart

6. 使用TELNET客户端远程登录;ifconfig -a显示本机地址。

文章录入:郝丽    责任编辑:郝丽 
  • 上一篇文章:

  • 下一篇文章:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
     
     
     
    AS4服务器下 Apache随系
    Linux系统桌面瘦身加速工
    全面提高Ubuntu Linux操
    Windows Vista系统下的R
    让Ubuntu Linux系统直接
    Ubuntu Linux下 PDF乱码
    手动配置Ubuntu Linux指
    Linux 系统用户账号管理
    凡人网络购物系统Jsp版漏
    轻轻松松 通过USB安装Ub
    站长邮箱:webmaster@anquan365.com
    联系电话:86-10-67634029 点击这里给我发消息

    Copyright © 2006-2008 www.anquan365.com 北京华安普特网络科技有限公司 版权所有