3、修改cd /etc/xinetd.d/目录下的rlogin,将disable= yes改为disable= no [root@racnode1 package]# vi /etc/xinetd.d/rlogin # default: on # description: rlogind is the server for the rlogin(1) program. The server \ # provides a remote login facility with authentication based on \ # privileged port numbers from trusted hosts. service login { socket_type = stream wait = no user = root log_on_success += USERID log_on_failure += USERID server = /usr/sbin/in.rlogind disable = no }
4、同样修改cd /etc/xinetd.d/目录下的rsh,将disable= yes改为disable= no [root@racnode1 package]# vi /etc/xinetd.d/rsh # default: on # description: The rshd server is the server for the rcmd(3) routine and, \ # consequently, for the rsh(1) program. The server provides \ # remote execution facilities with authentication based on \ # privileged port numbers from trusted hosts. service shell { socket_type = stream wait = no user = root log_on_success += USERID log_on_failure += USERID server = /usr/sbin/in.rshd disable = no }
5、重启xinetd服务 [root@racnode1 package]# service xinetd restart Stopping xinetd: [ OK ] Starting xinetd: [ OK ]
7、添加/etc/hosts.equiv vi /etc/hosts.equiv racnode1 racnode2 priv1 priv2 crs_vip1 crs_vip2 [root@racnode1 package]# vi /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 racnode1 localhost.localdomain localhost 192.168.6.251 racnode1 192.168.6.252 racnode2 10.1.1.1 priv1 10.1.1.2 priv2 192.168.6.253 crs_vip1 192.168.6.254 crs_vip2 ~