https://bugzilla.suse.com/show_bug.cgi?id=1174593 https://bugzilla.suse.com/show_bug.cgi?id=1174593#c28 Josef Möllers <josef.moellers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|werner@suse.com |kstreitova@suse.com Flags| |needinfo?(kstreitova@suse.c | |om) --- Comment #28 from Josef Möllers <josef.moellers@suse.com> --- (In reply to Josef Möllers from comment #26)
Hm ... when collecting this stuff, it occurred to me that pam_xauth could retrieve the old user name prior to calling pam_get_user() ... stay tuned ...
No show: pam_syslog(pamh, LOG_NOTICE, "Getting old user name"); -> Getting old user name if (pam_get_item(pamh, PAM_USER, &old_username) != PAM_SUCCESS) { : } pam_syslog(pamh, LOG_NOTICE, "old user name=%s", old_username); -> old user name=root There is next to nothing preceding this (just some options parsing), so PAM_USER is already set to root and pam_xauth will have a hard time finding the invoking user. So best discuss this with sudo's bugwoner: Kristýna Streitová <kstreitova@suse.com> -- You are receiving this mail because: You are on the CC list for the bug.