[Bug 2040281] [NEW] mkhomedir and pam_mount incompatibility

Virginie Trinite 2040281 at bugs.launchpad.net
Tue Oct 24 14:12:56 UTC 2023


Public bug reported:

Hello
I have use realm to join a domain without difficulty and use
pam-auth-update --enable mkhomedir, as suggest by the documentation
The problem is, when a new user log into the system, the content of /etc/skel is not copy into the new home directory, even if Download Desktop.... are created.
Adduser work normally and the homedirectory is created fine.
The problem come from the additional pam module pam_mount, in my case this one try to mount a shared ressource in the homedir of the user.
By default in /etc/pam.d/common.session pam_mount is called before pam_mkhomedir.so.
If I deplace the pam_mkhomedir line before the pam_mount everything is working fine


Thanks for your attention

** Affects: pam (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/2040281

Title:
  mkhomedir and pam_mount incompatibility

Status in pam package in Ubuntu:
  New

Bug description:
  Hello
  I have use realm to join a domain without difficulty and use
  pam-auth-update --enable mkhomedir, as suggest by the documentation
  The problem is, when a new user log into the system, the content of /etc/skel is not copy into the new home directory, even if Download Desktop.... are created.
  Adduser work normally and the homedirectory is created fine.
  The problem come from the additional pam module pam_mount, in my case this one try to mount a shared ressource in the homedir of the user.
  By default in /etc/pam.d/common.session pam_mount is called before pam_mkhomedir.so.
  If I deplace the pam_mkhomedir line before the pam_mount everything is working fine

  
  Thanks for your attention

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/2040281/+subscriptions




More information about the foundations-bugs mailing list