diff options
Diffstat (limited to 'x11/lightdm/files/patch-data_pam_lightdm')
-rw-r--r-- | x11/lightdm/files/patch-data_pam_lightdm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/lightdm/files/patch-data_pam_lightdm b/x11/lightdm/files/patch-data_pam_lightdm new file mode 100644 index 000000000000..7a7b46b1d6fb --- /dev/null +++ b/x11/lightdm/files/patch-data_pam_lightdm @@ -0,0 +1,26 @@ +--- data/pam/lightdm.orig 2015-08-09 23:30:00 UTC ++++ data/pam/lightdm +@@ -1,13 +1,13 @@ + #%PAM-1.0 + + # Block login if they are globally disabled +-auth required pam_nologin.so ++account required pam_nologin.so + + # Load environment from /etc/environment and ~/.pam_environment +-auth required pam_env.so ++#auth required pam_env.so + + # Use /etc/passwd and /etc/shadow for passwords +-auth required pam_unix.so ++auth required pam_unix.so no_warn try_first_pass + + # Check account is active, change password if required + account required pam_unix.so +@@ -16,5 +16,4 @@ account required pam_unix.so + password required pam_unix.so + + # Setup session +-session required pam_unix.so +-session optional pam_systemd.so ++session required pam_permit.so |