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