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
/
login
diff --git
a/etc/pam.d/login
b/etc/pam.d/login
index 7f15a0f44c84d15a642a26622cd5937def005f26..cc6c2f02454d31d10ce01ccf3bcefde250f32b28 100644
(file)
--- a/
etc/pam.d/login
+++ b/
etc/pam.d/login
@@
-13,6
+13,8
@@
# Print the message of the day upon successful login.
session optional pam_motd.so # [1]
# 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...)
# Standard Un*x password updating (not sure if login actually uses this, but
# well...)