System Administration Guide

Example--Searching For and Removing .rhosts Files

The following example searches and removes .rhosts files in all the user's home directories located in the /export/home directory.


# find /export/home -name .rhosts -print | xargs -i -t
rm{}