Debian Linux下启动Telnet服务(1)

ZDNET网络频道时间2007-12-18作者:论坛整理 | ZDNet网络安全
本文关键词:telnet命令 opentelnet linux telnet telnet入侵 telnet

  Root@2[/]# apt-get install xinetd

    正在读取软件包列表……

  正在分析软件包的依赖关系树……

  下列【新】软件包将被安装:

  xinetd

  共升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。

  需要下载 0B/130kB 的软件包。

  解压缩后会消耗掉 348kB 的额外空间。

  Selecting previously deselected package xinetd.

  (Reading database …… 65331 files and directories currently installed.)

  Unpacking xinetd (from ……/xinetd_1%3a2.3.13-2_i386.deb) ……

  Setting up xinetd (2.3.13-2) ……

  Starting internet superserver: xinetd.

  Stopping internet superserver: xinetd.

  Adding `diversion of /etc/init.d/inetd to /etc/init.d/inetd.real by xinetd'

  root@2[/]# apt-get install telnetd

  正在读取软件包列表……

  正在分析软件包的依赖关系树……

  下列【新】软件包将被安装:

  telnetd

  共升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。

  需要下载 0B/40.6kB 的软件包。

  解压缩后会消耗掉 139kB 的额外空间。

  Selecting previously deselected package telnetd.

  (Reading database …… 65337 files and directories currently installed.)

  Unpacking telnetd (from ……/telnetd_0.17-25_i386.deb) ……

  Setting up telnetd (0.17-25) ……

  --------- IMPORTANT INFORMATION FOR XINETD USERS ----------

  The following line will be added to your /etc/inetd.conf file:

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

  If you are indeed using xinetd, you will have to convert the

  above into /etc/xinetd.conf format, and add it manually. See

  /usr/share/doc/xinetd/README.Debian for more information.

  root@2[/]# nano -w /etc/xinetd.d/telnet

  GNU nano 1.2.4 File: /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

  server_args = -h

  log_on_failure += USERID

  }

  root@2[/]# apt-get install telnet

  正在分析软件包的依赖关系树……

  下列【新】软件包将被安装:

  telnet

  共升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。

  需要下载 63.8kB 的软件包。

  解压缩后会消耗掉 188kB 的额外空间。

  获取:1 http://mirrors.geekbone.org sid/main telnet 0.17-25 [63.8kB]

  下载 53.0kB,耗时 4s (12.1kB/s)

  Selecting previously deselected package telnet.

  (Reading database …… 65349 files and directories currently installed.)

用户评论
  • 评论列表
  • 本篇文章共有 0 条评论
用户名
评论内容
发表时间
- 发表评论 -
匿名
注册用户

百度大联盟认证黄金会员Copyright© 1997- CNET Networks 版权所有。 ZDNet 是CNET Networks公司注册服务商标。
中华人民共和国电信与信息服务业务经营许可证编号:京ICP证010391号 京ICP备09041801号-159
京公网安备:1101082134