You can log in to both hostA and hostb using the same login name. You want to use the rcp command to copy a file from hostA to HostB.
What do you need to do to allow this operation?

A.
Add your login name to the /etc/hosts.equiv file on hostb.
B.
Create hosts.equiv files in your home directories and put a + in the file on
hostb.
C.
Ask the system administrator to add you to the /etc/.rhosts file on the host hostb.
D.
Create a .rhosts file in your home directory on hostb and put the host name hostA in the file.
Explanation:
Answer D will work correctly at only the local userid needs the .rhosts file to contain the host name of the sending machine.
For answer B, it is not required to create a hosts.equiv file in both home directories on both
machines, only the machine being copied to i.e. hostb. This will work but overkill