diff options
author | Ray Strode <rstrode@redhat.com> | 2016-08-30 16:10:19 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2016-08-30 16:40:01 -0400 |
commit | bb12416da1f6e58bda1762eca956b5c61f36d180 (patch) | |
tree | 584b3943f39f4ad40a4b85397a1bdd3514607b77 /pam_gdm | |
parent | dc3dcff8eb4b745214f3bc8df8e230fe4e466cc9 (diff) | |
download | gdm-bb12416da1f6e58bda1762eca956b5c61f36d180.tar.gz |
pam_gdm: return AUTHINFO_UNAVAIL if kernel keyring unavailable
right now we return PAM_SUCCESS if keyutils are unavailable.
This is the wrong default, we should fail if we aren't able to
get the password.
https://bugzilla.gnome.org/show_bug.cgi?id=770612
Diffstat (limited to 'pam_gdm')
-rw-r--r-- | pam_gdm/pam_gdm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pam_gdm/pam_gdm.c b/pam_gdm/pam_gdm.c index 7beb04e7..f491b8d8 100644 --- a/pam_gdm/pam_gdm.c +++ b/pam_gdm/pam_gdm.c @@ -58,7 +58,7 @@ pam_sm_authenticate (pam_handle_t *pamh, return PAM_AUTH_ERR; #endif - return PAM_SUCCESS; + return PAM_AUTHINFO_UNAVAIL; } int |