# mkhomedir_helper - Helper binary that creates home directories - man(8) - [phpMan]

[_MKHOMEDIR_HELPER_(8)](https://www.chedong.com/phpMan.php/man/MKHOMEDIRHELPER/8/markdown)                       Linux-PAM Manual                       [_MKHOMEDIR_HELPER_(8)](https://www.chedong.com/phpMan.php/man/MKHOMEDIRHELPER/8/markdown)

## NAME
       mkhomedir_helper - Helper binary that creates home directories

## SYNOPSIS


       **mkhomedir_helper **{_user_} [_umask_ [ _path-to-skel_ [ _home_mode_ ] ]]

## 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_.

       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)](https://www.chedong.com/phpMan.php/man/pammkhomedir/8/markdown)

## AUTHOR
       Written by Tomas Mraz based on the code originally in _pam_mkhomedir_ module.

Linux-PAM                                    05/07/2023                          [_MKHOMEDIR_HELPER_(8)](https://www.chedong.com/phpMan.php/man/MKHOMEDIRHELPER/8/markdown)
