Linux下配置rsh无密码登录技巧 |
发布时间: 2012/8/8 18:25:13 |
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.enkj.com】 |