Automatically generated by Pod::Man v1.37, Pod::Parser v1.14

Standard preamble:
========================================================================

\\$1

.. ..

..
.. Set up some character translations and predefined strings. \*(-- will
give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
double quote, and \*(R" will give a right double quote. | will give a
real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
expand to `' in nroff, nothing in troff, for use with C<>.
.tr \(*W-|\(bv\*(Tr . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\}
If the F register is turned on, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.
. de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\}
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.

Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] .\} . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents . \" corrections for vroff . \" for low resolution devices (crt and lpr) \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} ========================================================================

Title "PAM_MKHOMEDIR 8"
PAM_MKHOMEDIR 8 "2005-06-08" "FreeBSD" "User Contributed Documentation"
"NAME"
pam_mkhomedir - PAM module to create user home directories on demand
"SYNOPSIS"
Header "SYNOPSIS" [service-name] module-type control-flag pam_mkhomedir [options]
"DESCRIPTION"
Header "DESCRIPTION" The \s-1MKHOMEDIR\s0 session module creates users home directories on demand, if it does not already exist. It also sets the users home to a default mode of 0755, but can changed in the \s-1PAM\s0 config. Furthermore, it copies dot files from the skel - per default /usr/share/skel, but this option can be also overwritten in the \s-1PAM\s0 config

The following options may be passed to the session module

.Vb 1 debug syslog(3) debugging information at LOG_DEBUG level.> .Ve

.Vb 2 mode=ABCD permission for the HOME directory - defaults to 0755 in chmod(2) format .Ve

.Vb 1 skel=directory skel directory to use - defaults to /usr/share/skel .Ve

The reason for this module was to create users on a ldap directory and create their home directories automatically when they logon the first time on the machine

"SEE ALSO pam\|(3), pw\|(8), chmod\|(2)"
Header "SEE ALSO pam, pw, chmod"
""
Header ""