[bs ~]$ yum install rsh-server
#rsh,rlogin,rexec,xinetd on
[bs ~]$ chkconfig rsh on
[bs ~]$ chkconfig rexec on
[bs ~]$ chkconfig rlogin on
[bs ~]$ chkconfig xinetd on
[bs ~]$ service xinetd start or restart
#Edit /etc/securetty file. Append the lines below
rsh
rexec
rlogin
#Create .rhosts file in user home(~) with the host names of the machines you wish to allow
in below format.(node01 should be resolved with DNS)
node01
192.168.0.1
#Make sure file permissions
[bs ~]$ chmod 600 ~/.rhosts
Hiç yorum yok:
Yorum Gönder