Listing Home Directories for Deleted Users



By: davesimons

March 14, 2007 1:52 am

Reads: 169

Comments:0

Rating:0

Problem

When you delete a user from your eDirectory tree, the Home Directory of the user is not deleted automatically. If you forget to delete the directory, then the ownership of the directory and file will change to “N/A”.

After a while, if you forget this several times, there will be a number of directories that don’t have owners. Most of us would would like to delete these directories, but how do we find them?

Solution

You can use an NDIR command to find the Home Directories for deleted users. For example:

NDIR * /do /owner="N/A"

This will list all the directories that have no owner.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: ,
Categories: eDirectory, Technical Solutions

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Comment