Chinaunix首页 | 论坛 | 博客
  • 博客访问: 929284
  • 博文数量: 70
  • 博客积分: 1741
  • 博客等级: 上尉
  • 技术积分: 2476
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-05 14:46
个人简介

全志全系列芯片产品方案开发 A20/A33/A64/A40/A60/A83/A63/H3/H5/H6/H8

文章存档

2018年(1)

2012年(20)

2011年(49)

分类: LINUX

2011-06-11 12:52:27

文章写于 2011-05-24 17:31:16
 
刚安装的ubuntu还没有telnet功能,需要配置一下

安装openbsd-inetd:
#sudo apt-get install openbsd-inetd

安装telnetd:
#sudo apt-get install telnetd

在etc/inetd.conf文件中可以看到这一行内容:
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd
如果没有这一行内容,就手动加上

重启openbsd-inetd
#/etc/init.d/openbsd-inetd restart

查看telnet运行状态
#netstat -a | grep telnet
输出: tcp 0 0 *:telnet *:* LISTEN

在windows的命令行中输入:telnet 192.168.1.33(我的linux的IP地址)
按照提示输入用户名和密码进入(非root用户)

效果如下:

Ubuntu 10.10
xgc-VirtualBox login: xgc
Password:
Linux xgc-VirtualBox 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19

20:34:50 UTC 20
10 i686 GNU/Linux
Ubuntu 10.10

Welcome to Ubuntu!
 * Documentation: 

New release 'natty' available.
Run 'do-release-upgrade' to upgrade to it.


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

xgc@xgc-VirtualBox:~$
阅读(1802) | 评论(0) | 转发(2) |
给主人留下些什么吧!~~