path: root/modules/pam_mkhomedir/README
diff options
Diffstat (limited to 'modules/pam_mkhomedir/README')
1 files changed, 36 insertions, 0 deletions
diff --git a/modules/pam_mkhomedir/README b/modules/pam_mkhomedir/README
new file mode 100644
index 00000000..cfc7bc48
--- /dev/null
+++ b/modules/pam_mkhomedir/README
@@ -0,0 +1,36 @@
+pam_mkhomedir — PAM module to create users home directory
+The pam_mkhomedir PAM module will create a users home directory if it does not
+exist when the session begins. This allows users to be present in central
+database (such as NIS, kerberos or LDAP) without using a distributed file
+system or pre-creating a large number of directories. The skeleton directory
+(usually /etc/skel/) is used to copy default files and also sets a umask for
+the creation.
+The new users home directory will not be removed after logout of the user.
+A sample /etc/pam.d/login file:
+ auth requisite
+ auth sufficient
+ auth required
+ auth required
+ account sufficient
+ account required
+ password required
+ session required skel=/etc/skel/ umask=0022
+ session required
+ session optional
+ session optional standard
+pam_mkhomedir was written by Jason Gunthorpe <>.