pam: Enable pam_mkhomedir for sshd and login.
[matthijs/servers/tika.git] / etc / pam.d / login
index 7f15a0f44c84d15a642a26622cd5937def005f26..cc6c2f02454d31d10ce01ccf3bcefde250f32b28 100644 (file)
@@ -13,6 +13,8 @@
 
 # Print the message of the day upon successful login.
 session                optional        pam_motd.so # [1]
+# Create a homedir for the user, if there is none yet.
+session                optional        pam_mkhomedir.so
 
 # Standard Un*x password updating (not sure if login actually uses this, but
 # well...)