I've tried to reproduce this bug with a current Ubuntu Xenial, by adding: session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
to /etc/pam.d/common-account and creating a new user without home directory with adduser --no-create-home afterwards. I also added a file to /etc/skel. After I logged on into the new user the first time, the file I added in /etc/skel was present in the home directory. Seems that a fix was released in a newer version. Since trusty still uses version 1.10.0-0ubuntu3 [1], xenial uses 1.18.1-0ubuntu1 [2]. [1] http://packages.ubuntu.com/trusty/lightdm [2] http://packages.ubuntu.com/xenial/lightdm -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1318778 Title: lightdm doesn't let pam_mkhomedir execute To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1318778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs