1、安装rsh-server软件包 2、删除krb5-workstation软件包 3、配置: 两个节点都要操作: 编辑/etc/xinetd.d/rsh和/etc/xinetd.d/rlogin文件,将disable=yes更改为disable=no,然后重启xinetd进程。 将rexec、rlogin、rsh加入到/etc/securetty里面: echo "rexec" >> /etc/securetty echo "rlogin" >> /etc/securetty echo "rsh" >> /etc/securetty 4、编辑/etc/hosts.equiv文件,加入以下内容: [root@vistor ~]# cat /etc/hosts.equiv vistor server1 5、编辑~/.rhosts文件,加入以下内容: [root@vistor ~]# cat .rhosts vistor root server1 root 到此你就可以疯狂的rsh了,哈哈!!!
编辑:北京信诚www.xcitbm.com>IT保姆www.xcitbm.com>IT外包部 http:// www.xcitbm.com www.xcit.com.cn |