The following example searches and removes .rhosts files in all the user's home directories that are located in the /export/home directory.
# find /export/home -name .rhosts -print | xargs -i -t rm{}