Linux下配置rsh無密碼登錄技巧 |
發(fā)布時間: 2012/8/8 18:25:13 |
1、安裝rsh-server軟件包 2、刪除krb5-workstation軟件包 3、配置: 兩個節(jié)點(diǎn)都要操作: 編輯/etc/xinetd.d/rsh和/etc/xinetd.d/rlogin文件,將disable=yes更改為disable=no,然后重啟xinetd進(jìn)程。 將rexec、rlogin、rsh加入到/etc/securetty里面: echo "rexec" >> /etc/securetty echo "rlogin" >> /etc/securetty echo "rsh" >> /etc/securetty 4、編輯/etc/hosts.equiv文件,加入以下內(nèi)容: [root@vistor ~]# cat /etc/hosts.equiv vistor server1 5、編輯~/.rhosts文件,加入以下內(nèi)容: [root@vistor ~]# cat .rhosts vistor root server1 root 到此你就可以瘋狂的rsh了,哈哈!!!
本文出自:億恩科技【m.1tcdy.com】 服務(wù)器租用/服務(wù)器托管中國五強(qiáng)!虛擬主機(jī)域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM] |