projects
/
matthijs
/
servers
/
tika.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pam: Enable pam_mkhomedir for sshd and login.
[matthijs/servers/tika.git]
/
etc
/
pam.d
/
sshd
diff --git
a/etc/pam.d/sshd
b/etc/pam.d/sshd
index adf7c8abee93acfd87188a99f15cecad1b64e1c4..ecb400c13cb90dfb27cdc7995420967baf6474b7 100644
(file)
--- a/
etc/pam.d/sshd
+++ b/
etc/pam.d/sshd
@@
-11,7
+11,8
@@
# Print the message of the day upon successful login.
session optional pam_motd.so
# 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...)
# Standard Un*x password updating (not sure if OpenSSH actually uses this, but
# well...)