Article

davesimons's picture
article
Reads:

3349

Score:
0
0
 
Comments:

0

Listing Home Directories for Deleted Users

(View Disclaimer)

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.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell