MKHOMEDIR_HELPER(8)
๐ MKHOMEDIR_HELPER(8) ๐
ok so bestie, welcome to mkhomedir_helper โ that's the Linux-PAM Manual entry for the helper binary that creates home directories. she's a lil backstage icon, no cap ๐
โจ NAME โจ
mkhomedir_helper โ helper binary that creates home directories ๐ โจ
๐ธ SYNOPSIS ๐ธ
mkhomedir_helper {user}
[umask [ path-to-skel [ home_mode [ path-to-vendor-skel ] ] ]]
like, user is mandatory, everything after is a lil optional chain of nested brackets. the way that nesting goes, you can't skip ahead โ it's giving "one at a time, bestie" ๐
๐ฆ DESCRIPTION ๐ฆ
okay so mkhomedir_helper is a helper program for the pam_mkhomedir module. what she does: creates home directories and populates them with the contents of the specified skel directory. she's literally the move-in crew for a new user's home ๐ซถ
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. (yes bestie, computed โ not just sitting there being a constant, it's derived ๐ฅ)
path-to-vendor-skel doesn't have a default value. when set to a path, the home directory will be populated by contents of path-to-skel first, and then by contents of path. two-pass copy, skel then vendor, in that order, don't get it twisted ๐
ngl the reason she's a separate binary and not just vibing inside the module is SELinux. the helper is separated from the module so that login SELinux domains don't require direct access to the contents of user home directories. the SELinux domain transition happens when the module is executing the mkhomedir_helper. so it's a whole handoff situation, main character energy โจ
๐จ IMPORTANT, no fr fr: the helper never touches home directories if they already exist. if the dir's already there, she's not gonna mess with it. periodt.
๐ SEE ALSO ๐
pam_mkhomedir(8)
๐ AUTHOR ๐
written by Tomas Mraz based on the code originally in the pam_mkhomedir module. shoutout ๐ซถ
okay that's the whole page, bestie!! ๐ this is Linux-PAM, dated 09/27/2026, and she's filed under MKHOMEDIR_HELPER(8). go forth and make home dirs, mwah ๐
โจ๐ธ
๐ฆ where this page comes from
- arch rolling: pam 1.7.3-1 ยท GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms