---
name: "mkhomedir_helper"
section: "8"
platform: "linux"
package: "pam"
version: "1.7.3-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/mkhomedir_helper"
---

# mkhomedir\_helper(8)

Helper binary that creates home directories

## NAME

mkhomedir\_helper - Helper binary that creates home directories

## SYNOPSIS

**mkhomedir\_helper** {*user*} \[*umask* \[ *path-to-skel* \[ *home\_mode* \[ *path-to-vendor-skel* \] \] \]\]

## DESCRIPTION

*mkhomedir\_helper* is a helper program for the *pam\_mkhomedir* module that creates home directories and populates them with contents of the specified skel directory.

The default value of *umask* is 0022 and the default value of *path-to-skel* is */etc/skel*. The default value of *home\_mode* is computed from the value of *umask*.

*path-to-vendor-skel* doesn't have default value. When set to a *path*, home directory will be populated by contents of *path-to-skel* first, and then by contents of *path*.

The helper is separated from the module to not require direct access from login SELinux domains to the contents of user home directories. The SELinux domain transition happens when the module is executing the *mkhomedir\_helper*.

The helper never touches home directories if they already exist.

## SEE ALSO

[**pam\_mkhomedir**(8)](/pam_mkhomedir/8.md)

## AUTHOR

Written by Tomas Mraz based on the code originally in *pam\_mkhomedir* module.
