Topic
  • 1 reply
  • Latest Post - ‏2013-05-20T16:42:12Z by dmoore21
dmoore21
dmoore21
56 Posts

Pinned topic Unix\Linux - checking all users home directories

‏2013-05-15T15:03:09Z |

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...

 

  • dmoore21
    dmoore21
    56 Posts

    Re: Unix\Linux - checking all users home directories

    ‏2013-05-20T16:42:12Z  

    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"