From 0f1df8e1691f6a0397153860caf28fda38231833 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 30 Jun 2011 04:14:50 +0200 Subject: [PATCH 1/1] execute: don't invoke pam_setcred, since we are not running on a tty where the user could change his password --- src/execute.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/execute.c b/src/execute.c index cb5584354..1a5f09d32 100644 --- a/src/execute.c +++ b/src/execute.c @@ -817,9 +817,6 @@ static int setup_pam( close_session = true; - if ((pam_code = pam_setcred(handle, PAM_ESTABLISH_CRED | PAM_SILENT)) != PAM_SUCCESS) - goto fail; - if ((!(e = pam_getenvlist(handle)))) { pam_code = PAM_BUF_ERR; goto fail; -- 2.30.2