diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2012-10-09 17:24:33 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2012-10-09 17:24:33 +1300 |
commit | bccac08438c31d6843f04013222bef7a8ff87ebe (patch) | |
tree | 7a09a9ef0b3630dd74880b015d8543ae13ebbf77 /data/pam | |
parent | 42308f1444454da69f1bb39cd2f37e4995fdc346 (diff) | |
download | lightdm-git-bccac08438c31d6843f04013222bef7a8ff87ebe.tar.gz |
Fix autologin PAM configuration
Diffstat (limited to 'data/pam')
-rw-r--r-- | data/pam/lightdm | 2 | ||||
-rw-r--r-- | data/pam/lightdm-autologin | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/data/pam/lightdm b/data/pam/lightdm index 45ea314e..4d6798d3 100644 --- a/data/pam/lightdm +++ b/data/pam/lightdm @@ -1,6 +1,6 @@ #%PAM-1.0 -# Block login if they are disabled +# Block login if they are globally disabled auth required pam_nologin.so # Load environment from /etc/environment and ~/.pam_environment diff --git a/data/pam/lightdm-autologin b/data/pam/lightdm-autologin index 412ca5d4..790c452e 100644 --- a/data/pam/lightdm-autologin +++ b/data/pam/lightdm-autologin @@ -6,8 +6,8 @@ auth required pam_nologin.so # Load environment from /etc/environment and ~/.pam_environment auth required pam_env.so -# Use /etc/passwd and /etc/shadow for passwords -auth required pam_unix.so +# Allow access without authentication +auth required pam_permit.so # Stop autologin if account requires action account required pam_unix.so |