[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#922160: lightdm: Add elogind support



On Sat, Feb 23, 2019 at 02:13:22PM +0100, Yves-Alexis Perez wrote:
> For the pam configuration, yes I didn't change anything because I honestly
> don't know enough about it and I'm not really inclined to do potentially
> invasive stuff just during the freeze. So any help appreciated here.

I wouldn't claim any particular expertise here, but the following works for me.

diff --git a/debian/patches/05_debianize-pam-files.patch b/debian/patches/05_debianize-pam-files.patch
index 36a112e..98c510e 100644
--- a/debian/patches/05_debianize-pam-files.patch
+++ b/debian/patches/05_debianize-pam-files.patch
@@ -60,6 +60,13 @@
  
  # Always let the greeter start without authentication
  auth      required pam_permit.so
+@@ -13,5 +14,4 @@
+ password  required pam_deny.so
+ 
+ # Setup session
+-session   required pam_unix.so
+-session   optional pam_systemd.so
++@include common-session
 --- a/data/pam/lightdm-autologin
 +++ b/data/pam/lightdm-autologin
 @@ -1,20 +1,37 @@


Mark


Reply to: