Univention Bugzilla – Bug 34790
/etc/skel not used during desktop login
Last modified: 2014-06-12 09:20:00 CEST
We have pam_mkhomedir.so umask=0066 skel=/etc/skel in /etc/pam.d/common-session But the content of /etc/skel is currently not added to the home directory if a user logs into the UCC KDE desktop, e.g. .bashrc is missing in a freshly created home. For some reason it's working when logging in via SSH, in that case the /.bashrc is created.
Maybe it helps if the pam_mkhomedir.so umask=0066 skel=/etc/skel is additionally present in /etc/pam.d/lightm?
(1) univention-copy-region-info from univention-ucc-session-xenapp creates the home dir in a light session-setup script, before pam_mkhomedir. Added mkhomedir_helper to univention-copy-region-info. (2) pam_kwallet breaks pam_mkhomedir. Removed pam_kwallet from lightdm pam file.
The home directory is now created correctly with /etc/skel being in place
UCC 2.0 has been released: http://docs.univention.de/release-notes-ucc-2.0.html If this error occurs again, please use "Clone This Bug".