| 关键词: nbsp etc securetty vistor 软件包 文件 root rsh xinetd rlogin |
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了,哈哈!!! |
|
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系
[邮箱地址] 删除
|