作者:浪费小创_512 | 来源:互联网 | 2017-10-27 22:50
文章标题:linux下配置rsh无密码登录。Linux是中国IT实验室的一个技术频道。包含桌面应用,Linux系统管理,内核研究,嵌入式系统和开源等一些基本分类
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了,哈哈!!!