linux下的telnet服务,而后就可以在dos下就可以使用普通用户访问服务器。

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[root@localhost ~]#  rpm -qa   | grep telnet-server

[root@localhost ~]#  yum -y install telnet-server
[root@localhost ~]#  chkconfig telnet on
[root@localhost ~]#  /etc/init.d/xinetd restart
停止 xinetd:                                              [确定]
启动 xinetd:                                              [确定]
[root@localhost ~]# # netstat -ntlp | grep 23
tcp        0      0 0.0.0.0:23                  0.0.0.0:*                   LISTEN      19502/xinetd        
[root@localhost ~]# useradd dream
[root@localhost ~]#  passwd dream
而后su切换到root就可以使用管理员了。
 
 
###################################################################
linux下的 SSH 
[root@localhost ~]# yum -y install openssh-server
[root@localhost ~]# service sshd restart
停止 sshd:                                                [确定]
启动 sshd:                                                [确定]
[root@localhost ~]# netstat -ntlp | grep sshd
tcp        0      0 :::22                       :::*                        LISTEN      19648/sshd          
[root@localhost ~]#