]> rtime.felk.cvut.cz Git - sojka/debian/lightdm.git/commitdiff
* debian/patches/05_debianize-pam-files.patch:
authorcorsac <corsac@0c9b3bff-18ee-0310-b944-d1aa2700132f>
Sat, 2 Jul 2016 20:12:19 +0000 (20:12 +0000)
committercorsac <corsac@0c9b3bff-18ee-0310-b944-d1aa2700132f>
Sat, 2 Jul 2016 20:12:19 +0000 (20:12 +0000)
  - disable autologin by default for root user (as with GDM3).

git-svn-id: svn://anonscm.debian.org/pkg-xfce/goodies/trunk/lightdm@9447 0c9b3bff-18ee-0310-b944-d1aa2700132f

debian/changelog
debian/patches/05_debianize-pam-files.patch

index b15a9255ad0d2e46b1b7f48efbfed45516db0f11..bc950bfa5def38d02846ee7a8fe7dbb27c06927d 100644 (file)
@@ -1,3 +1,10 @@
+lightdm (1.18.2-2) UNRELEASED; urgency=medium
+
+  * debian/patches/05_debianize-pam-files.patch:
+    - disable autologin by default for root user (as with GDM3).
+
+ -- Yves-Alexis Perez <corsac@debian.org>  Sat, 02 Jul 2016 22:11:51 +0200
+
 lightdm (1.18.2-1) unstable; urgency=medium
 
   * New upstream bugfix release.
index 99922531c99c63f3141a9dbb581b605081776987..36a112e0419fee20b9a0aa2067b548538da5821d 100644 (file)
@@ -62,7 +62,7 @@
  auth      required pam_permit.so
 --- a/data/pam/lightdm-autologin
 +++ b/data/pam/lightdm-autologin
-@@ -1,20 +1,36 @@
+@@ -1,20 +1,37 @@
  #%PAM-1.0
  
  # Block login if they are globally disabled
@@ -75,6 +75,7 @@
 +session      required pam_env.so readenv=1 envfile=/etc/default/locale
  
  # Allow access without authentication
++auth      required pam_succeed_if.so user != root quiet_success
  auth      required pam_permit.so
  
 -# Stop autologin if account requires action