歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu下Telnet服務的實現方法

Ubuntu下Telnet服務的實現方法

日期:2017/2/28 17:23:15   编辑:Linux教程

用Ubuntu很長時間了,一直不會怎麼用telnet服務。現在知道了,整理一下Ubuntu下實現Telnet服務的資料,供大家學習參考。
1、安裝xinetd 以及telnetd

liceven@liceven-laptop:~$ sudo apt-get install xinetd telnetd

獲取:1 http://ubuntu.cn99.com feisty/main xinetd 1:2.3.14-1ubuntu1 [135kB]
獲取:2 http://ubuntu.cn99.com feisty/universe telnetd 0.17-35ubuntu1 [42.0kB]
下載 177kB,耗時 7s (25.2kB/s)
選中了曾被取消選擇的軟件包 xinetd。
(正在讀取數據庫 ... 系統當前總共安裝有 123141 個文件和目錄。)
正在解壓縮 xinetd (從 .../xinetd_1%3a2.3.14-1ubuntu1_i386.deb) ...
選中了曾被取消選擇的軟件包 telnetd。
正在解壓縮 telnetd (從 .../telnetd_0.17-35ubuntu1_i386.deb) ...
正在設置 xinetd (2.3.14-1ubuntu1) ...
Stopping internet superserver: xinetd.
增加 `diversion of /etc/init.d/inetd to /etc/init.d/inetd.real by xinetd'
Starting internet superserver: xinetd.

正在設置 telnetd (0.17-35ubuntu1) ...
--------- IMPORTANT INFORMATION FOR XINETD USERS ----------
The following line will be added to your /etc/inetd.conf file:

telnet stream tcp nowait 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.
-----------------------------------------------------------

Copyright © Linux教程網 All Rights Reserved