I have installed RHEL4 on my desktop machine . Done all the setting in /etc/pam.d and finally my rsh and rlogin works from my machine(rsh the same machine)
[root@linux tmp]# rsh 10.121.113.92
Last login: Tue Sep 28 18:00:22 from BLE
You have new mail.
10.121.113.92 is the ip address of my linux(same) machine
but when I tried rcp ( in the same machine)
[root@linux tmp]# rcp /tmp/work 10.121.113.92:/home/
10.121.113.92: Connection refused
my /root/.rhosts file ( with 644 permissions)
[root@linux tmp]# more /root/.rhosts
Can someone please help me with this.
Actually there is a script that use rcp and I need to use that as it is