CPU性能好一点的电脑,因为要同时开大量软件
Ubuntu、虚拟机、secureCRT软件、各种开源软件
安装软件:使用命令:apt-get install xinetd telnetd 进行安装
创建文件并编辑:命令:sudo vi /etc/inetd.conf 在文件内加入以下一行telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetdwq保存退出。
编辑文件:命令:sudo vi /etc/xinetd.conf对比加入以下内容:
编辑文件:命令:sudo vi /etc/xinetd.d/telnet对比后加入以下缺少的内容:# default: on# description: The telnet server serves telnet sessions; it uses \# unencrypted username/password pairs for authentication.service telnet{disable = noflags = REUSEsocket_type = streamwait = nouser = rootserver = /usr/sbin/in.telnetdlog_on_failure += USERID}
重启机器 或 使用命令重启网络服务命令:sudo /etc/init.d/xinetd restart使用TELNET客户端远程登录即可进行非root用户访问。
修改文件使用root可登录:命令: mv /etc/securetty /etc/securetty.bak 这样root可以登录了。也可这样:修改/etc/pam.d/login这个文件。只需将下面一行注释掉即可。#auth required lib/security/pam_securetty.so使用secureCRT从win7远程登陆虚拟机如下图所示,成功!
所有配置文件的修改都要进行比较,看哪里不同就修改哪里!