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
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 runtime/ profiles multiselect mkhomedir | debconf- get-selections FRONTEND= noninteractive pam-auth-update --force
echo libpam-runtime libpam-
rm /var/lib/pam/seen
rm /etc/pam.d/common-*
DEBIAN_