增加如下行到/etc/securetty
rexec
rsh
rlogin
pts/0
pts/1
打开服务Activate the services by issuing
chkconfig rexec on
chkconfig rlogin on
chkconfig rsh on
增加信任的主机名到/root/.rhosts
改变文件属性为600
chmod 600 /root/.rhosts
增加主机名与/IP到/etc/hosts
重启inetd服务
service inetd restart
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/2073/viewspace-1023279/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/2073/viewspace-1023279/