1、检查有无安装rsh-server包
[root@slave1 network-scripts]# chkconfig --list| greprsh
2、 安装rsh 和rsh-server包
[root@slave1 network-scripts]# yum install rsh
..............................
Complete!
[root@slave1 network-scripts]# yum install rsh-server
.............................
Complete!
3、修改或者添加cd /etc/xinetd.d/目录下的rlogin,将disable=yes改为disable= no
[root@slave1 xinetd.d]# vi /etc/xinetd.d/rlogin
# default: on
# description: rlogind is the server for the rlogin(1)program. The server \
# providesa remote login facility with authentication based on \
# privileged port numbers from trusted hosts.
service login
{
socket_type = stream
wait