Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

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:

http://developer.novell.com/wiki/index.php/Virtual_File_Services

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)

share|improve this answer
    
Excellent pointers. Thanks! –  Frederik Sep 24 '10 at 17:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.