gbit
Joined: 11 Apr 2006
Posts: 1
|
Posted:
Tue Apr 11, 2006 7:59 pm Post subject:
Using subinacls to identify inactive users |
|
|
Hello,
I am working on a script that would:
1. Scan through an NTFS directory structure and identify inactive owners of top level directories only (appearing as a SID).
2. Scan through the same NTFS directory structure and identify owners of top level directories only, that are owned by builtin/Administrators, but only those that have NTFS security permissions assigned to an inactive user (appearing as a SID in the secutity tab of folder properties).
All that would have to be redirected to a log or text file for sorting, etc.
I have used subinacl command to determine step one, but step 2 seems a little more trickier. Eventually I would like to put all these commands into a script, but have no idea how to start. Any help or point in the right direction would be greatly appreciated.
Thanks in advance. |
|