首页 | Linux 基础 | 资讯动态 | Linux 应用 | Linux 服务器 | Linux 开发 | Linux 安全 | 专题 | 联盟论坛
  当前位置:主页>Linux 服务器>文章内容
Debian Linux操作系统下启动远程Telnet服务
来源:http://www.unix5.com 作者:riechelr_hl 发布时间:2007-08-01  

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.

-----------------------------------------------------------

 

新建一个文件/etc/xinetd.d/telnet,内容如下,并保存

 

 

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.)

Unpacking telnet (from .../telnet_0.17-25_i386.deb) ...

Setting up telnet (0.17-25) ...

 

我们查看一下地址

 

共3页: 上一页 1 [2] [3] 下一页
 
如果您对本文有任何疑问或者建议,请到论坛讨论区发表您的意见: >> 论坛入口
[收藏] [推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
  热点文章
·Linux系统下Apache服务器设置与
·在Linux x86上安装Oracle数据库1
·Linux操作系统下IPTables配置方
·Linux系统下SVN服务器的搭建过程
·Linux架设代理服务器(1)
·Linux系统下的Oracle数据库编程
·Linux 服务器集群系统
·Linux下免费数据库PostgreSQL开
·高端Linux操作系统服务器技术之
·在Ubuntu Linux 上架设Web服务器
· 在 Linux 上构建 Web spider
·用LVS在Linux上搭建负载均衡的集
  相关文章
·架设基于Linux(2.6.14内核)服务
·Linux服务器策--简说Web站点的内
·Oracle开发应用
·在UnixWare7.1.1上安装Oracle8i
·在slackware 10下安装Oracle 10
·在Linux x86上安装Oracle数据库1
·VMWare上Oracle 10g R2的最简安
·Linux系统下SVN服务器的搭建过程
·高端Linux操作系统服务器技术之
·浅析Apache服务器中SSI和CGI设定
·Linux DNS的负载均衡及子域委派
·Oracle PL/SQL编程风格与系统性

本站信息源至:互联网络,均为学习,交流所用,如有版权问题,请联系我们.
站长QQ:397422079 E_mail:riechelr_hl@unix5.com
转载本站内容请注明原作者名.谢谢!