分类: 嵌入式
2011-05-02 10:42:47
liceven@liceven-laptop:~$ sudo apt-get install xinetd telnetd 获取:1 feisty/main xinetd 1:2.3.14-1ubuntu1 [135kB]获取:2 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. ----------------------------------------------------------- |
liceven@liceven-laptop:~$ cat /etc/inetd.conf (如果存在就不需要了) telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd |