Comment 12 for bug 682662

Revision history for this message
Niklas Andersson (niklas-andersson) wrote :

This VERY ugly hack works on Ubuntu 18.04...

-- /usr/share/pam-config/mkhomedir -----
Default: yes
Priority: 0
Session-Type: Additional
Session:
 required pam_mkhomedir.so skel=/etc/skel umask=0027
------------------------

apt-get install debconf-utils
echo libpam-runtime libpam-runtime/profiles multiselect mkhomedir | debconf-get-selections
rm /var/lib/pam/seen
rm /etc/pam.d/common-*
DEBIAN_FRONTEND=noninteractive pam-auth-update --force