This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
From: Cameron Simpson <cs@zip.com.au> Date: On 27 Mar 1999, in message <Pine.GSO.3.96.990326171556.23640B-100000@expert.cc.purdue.edu> Nitesh Dhanjani <nitesh@expert.cc.purdue.edu> wrote: | or sh script that searches the system for .rhosts | files esp .rhosts with a "+", and makes sure there is no hosts.equiv | stuff, no world r/w exports, shadow passwords enabled etc. I cant seem to | find any resources on the web to learn csh or sh scripting. Could anyone | please point me to one? An initial cut might be: find / -type f -name .rhosts -exec fgrep + {} /dev/null \; The /dev/null there is to get grep to report the filename, as if it's given just one filename on the command line it doesn't mention the name in its output.