Unix\Linux - checking all users home directories

(imported topic written by dmoore21)

So, I’ve written the following relevance to check for the existence of an .rhosts file in any users home directory:

exists (file “.rhosts” of decendant folder of folder “/home”) whose (mode of it as string != “---------” and user name of it != “root”)

The problem is, I get a “the operator decendant folder is undefined”… but I do not know why. Or, I guess that is to say, I don’t know how/why I’m misusing it.

Any help is appreciated…

(imported comment written by dmoore21)

Think I got it - the following looks to be returning good information:

exists it whose (mode of it as string != “---------” AND user name of it != “root”) of descendants whose (name of it = “.rhosts”) of folder “/home”