Linux下配置rsh無密碼登錄技巧 |
發(fā)布時間: 2012/8/8 18:25:13 |
1、安裝rsh-server軟件包 2、刪除krb5-workstation軟件包 3、配置: 兩個節(jié)點都要操作: 編輯/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了,哈哈!!!
本文出自:億恩科技【xuefeilisp.com】 |