Cool Solutions

Mass Home Directory Scripts


January 28, 2005 1:19 pm






Download home_dirs

Mass Home Directory creator
File Name:

Script for the creation of home directories on NNLS. It uses the LDIF file you would have created to import large numbers of users into NNLS. It extracts the CN field to use as the Username. The Group field to use as the group. Creates the directory. Copies the skeleton files into the directory and then changes the permissions for the user and group.

It can create a single user if you specify the User name and Group or all users if you specify an LDIF file.

There must be one LDIF file per LUM Group

Parameters: path to LDIF file (all users)
User Group (single user)

Mass Home Directory deleter

Deletes the home directories of all users that were specified in the LDIF file. Useful if in the implementation phase you realize that you need to recreate the user set because of various issues.

Parameter: path to LDIF file.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Categories: Uncategorized

Disclaimer: This content is not supported by Micro Focus. 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 it thoroughly before using it in a production environment.