https://bugs.kde.org/show_bug.cgi?id=395947
Bug ID: 395947 Summary: Using pam_kwallet5.so breaks pam_mkhomedir.so Product: kwallet-pam Version: 5.12.4 Platform: Ubuntu Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: bernard.g...@gmail.com Target Milestone: --- Created attachment 113617 --> https://bugs.kde.org/attachment.cgi?id=113617&action=edit /etc/pam.d/sddm on k/ubuntu 18.04 Hi folks, I'm running k/ubuntu 18.04, and using pam to do ldap authenticated logins. As part of this process, for each user I need to create my default environment from /etc/skel/ What Happened: When I login, the home dir is created without the contents of /etc/skel What I expect to Happen: When I login, the home dir is created *with* the contents of /etc/skel How to recreate the problem: 1. Enable the pam_mkhomedir.so according to your platform requirements - on ubuntu, I use a config in /usr/share/pam-configs/ and run sudo pam-auth-update to apply it to the various /etc/pam.d/common-* files 2. Login to an account that doesn't have any home dir created yet 3. Verify that files from /etc/skel/ have not been copied (.bashrc is a really obvious one) Extra Investigation Notes: * This came about because sddm pulls in an /etc/pam.d/sddm config (attached), which has a couple of pam_kwallet*.so entries. * This bug report against sddm suggested a workaround which involved removing all the pam_kwallet*.so entries and adding the pam_mkhomedir entry manually (I verified this works): https://github.com/sddm/sddm/issues/769 * in order to verify separation from sddm, I load the pam_kwallet5.so in common-[auth,session] instead of the sddm config. I use a different display manager (gdm3) and pam_mkhomedir.so fails to run. If I disable the kwallet entries and login using gdm3, pam_mkhomedir.so runs (in gdm3 it gives you a status message). -- You are receiving this mail because: You are watching all bug changes.