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