DevOps Cloud (ADM)
Cybersecurity
IT Operations Cloud
Mass Home Directory creator
File Name: home_dirs.sh
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.
Rules:
There must be one LDIF file per LUM Group
Parameters: path to LDIF file (all users)
User Group (single user)
Mass Home Directory deleter
del_home_dirs.sh
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.