I am looking for a quick method of removing all trustees from a particular directory structure in a Novell OES2 NSS volume. I found a similar question on the Novell Forums but could not find any additional information on the ncp-remove-trustees.sh script referred to in the thread.
I can't dig that script out, and I'm not in a position anymore to write one for you. If you have the capability, the script may be retrievable via NNTP. However, if you're willing to put in the time, the hooks are there to write such a thing. The trick is in the _admin VFS area. The interface is described here:
Under that share there is a file called "Volume_Trustees.xml" in the volume area in question (typically each NSS pool has its own name, and each volume is under the pool directory). Simply 'cat'ing that file will give you a list of all the assigned trustees on that volume. This will be in XML format (doc). If you then take the info in that file and issue RemoveTrustee commands for each of those directories (doc) it should remove all of the trustees for you. This is likely what the script was actually doing.
Novell does provide some Perl examples for accessing these VFS structures (doc)