Home Directories
Prev | Chapter 2. Included Modules | Next

## Home Directories

The Home Directory service module will query LDAP for users, create a home directory if it does not already exist, copy in template home directory, and optionally run a user supplied post-create script.

### LDAP Schema

The Home Directory service module uses the standard RFC 2307 (or 2307bis) schema.

### Home Directory Service Options

The Home Directory service module supports sanity checking on the uid, gid, and home directory, home directory templates, and optional post-create script.

#### Home Directory Service Options

home

  Only create home directories that are subdirectories of the specified directory.

minuid

  Do not create home directories for uids lower than minuid.

mingid

  Do not create home directories for gids lower than mingid.

skeldir

  Path to a template or skeletal home directory. If this option is used, files named with a prefix of dot. such as `dot.filename` will be copied to `.filename` in the created home directory. Files without this dot. prefix will have the same name in the new home directory.

postcreate

  Execute a post-create command after the user's home directory has been created. The command is passed the new user's numeric uid, numeric gid, and the full path to the new home directory.

Prev | Up | Next
Chapter 2. Included Modules | Home | OpenSSH Public Keys