Thank you, Timo, that seems to work fine.   It appears that the
whitespace that pam-auth-update --package --enable mkhomedir adds to the
entry is significant.  In my insertion, my whitespace was not aligned to
the same column so although the pam_mkhomedir.so was identical in the
printing characters, it didn't match.

I will update the documentation bug accordingly, I believe the
documentation should reflect your recommendation.

Thanks again,

Rick

-- [email protected]

________________________________
From: [email protected] <[email protected]> on behalf of Timo Aaltonen 
<[email protected]>
Sent: Friday, March 22, 2019 3:05 AM
To: [email protected]
Subject: [Bug 1821085] Re: Documentation: SSSD server guide recommends 
pam_mkhomedir.so, latest aptitude patch to sssd removes it

if your goal is to enable pam_mkhomedir on the system, you could run:

pam-auth-update --package --enable mkhomedir

and then it would stay enabled even after system upgrades

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1821085

Title:
  Documentation: SSSD server guide recommends pam_mkhomedir.so, latest
  aptitude patch to sssd removes it

Status in Ubuntu Server Guide:
  New
Status in sssd package in Ubuntu:
  Invalid

Bug description:
  This documentation:

   https://help.ubuntu.com/lts/serverguide/sssd-ad.html.en

  Suggests adding:

   session required        pam_mkhomedir.so skel=/etc/skel/ umask=0022

  To:

   /etc/pam.d/common-session

  But latest aptitude patch to sssd recommends overriding the change and
  moves it to:

   /etc/pam.d/common-session.pam-old

  Need a place to source in local session directives that will not be
  overwritten by aptitude patches.

To manage notifications about this bug go to:
https://bugs.launchpad.net/serverguide/+bug/1821085/+subscriptions

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

Title:
  Documentation: SSSD server guide recommends pam_mkhomedir.so, latest
  aptitude patch to sssd removes it

To manage notifications about this bug go to:
https://bugs.launchpad.net/serverguide/+bug/1821085/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to